Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 358 of 358 for RuntimeException (0.99 sec)

  1. src/main/java/jcifs/smb1/smb1/SID.java

            identifier_authority = new byte[6];
            System.arraycopy(src, si, identifier_authority, 0, 6);
            si += 6;
            if (sub_authority_count > 100) {
                throw new RuntimeException("Invalid SID sub_authority_count");
            }
            sub_authority = new int[sub_authority_count];
            for (int i = 0; i < sub_authority_count; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

                    }
                    
                } catch (Exception e) {
                    log.error("Failed to register for witness notifications", e);
                    throw new RuntimeException(e);
                }
            });
        }
        
        public CompletableFuture<Void> unregister(WitnessRegistration registration) {
            return CompletableFuture.runAsync(() -> {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            this(new URL(null, url, Handler.SMB_HANDLER), auth);
            if ((shareAccess & ~(FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE)) != 0) {
                throw new RuntimeException("Illegal shareAccess parameter");
            }
            this.shareAccess = shareAccess;
        }
    
        /**
         * Constructs an SmbFile representing a resource on an SMB network such
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThrows(
            RuntimeException.class,
            () -> SerializableTester.reserialize(TypeToken.of(new TypeCapture<B>() {}.capture())));
      }
    
      public <A> void testSerializable_typeVariableNotSupported() {
        assertThrows(RuntimeException.class, () -> new ITryToSerializeMyTypeVariable<String>().go());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
          // But theoretically we could see sneaky checked exception
          sneakyThrow(exception);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
        }
      }
    
      @Test
      fun requestBodyMultipleFailuresReportedOnlyOnce() {
        val requestBody: RequestBody =
          object : RequestBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      @Test
      fun unexpectedExceptionSync() {
        client =
          client
            .newBuilder()
            .dns { hostname: String? -> throw RuntimeException("boom!") }
            .build()
        server.enqueue(MockResponse())
        assertFailsWith<RuntimeException> {
          getResponse(newRequest("/"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo("boom!")
        }
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
            throw ee;
          } finally {
            postReadCleanup();
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top