Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 364 for RuntimeException (0.08 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * </ul>
       */
      public void testNulls(Class<?> cls) {
        try {
          doTestNulls(cls, Visibility.PACKAGE);
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
      void doTestNulls(Class<?> cls, Visibility visibility)
          throws ParameterNotInstantiableException,
              IllegalAccessException,
              InvocationTargetException,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Mock class for testing exception scenarios
        private static class MockMultiThreadedHttpConnectionManager {
            public static void shutdownAll() {
                throw new RuntimeException("Simulated exception during shutdown");
            }
        }
    
        // Test to verify the logger field is properly initialized
        public void test_loggerFieldInitialization() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                        try {
                            return getToolchainV4(v3Factory.createToolchain(new ToolchainModel(model)));
                        } catch (MisconfiguredToolchainException e) {
                            throw new RuntimeException(e);
                        }
                    }
    
                    @Nonnull
                    @Override
                    public Optional<org.apache.maven.api.Toolchain> createDefaultToolchain()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            } catch (cnfe: ClassNotFoundException) {
              false
            }
    
          val isCorrettoSupported: Boolean =
            try {
              // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
              Class.forName("com.amazon.corretto.crypto.provider.AmazonCorrettoCryptoProvider")
    
              AmazonCorrettoCryptoProvider.INSTANCE.loadingError == null &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
     * Returns true if file streams can be manipulated independently of their paths. This is typically
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. docs/features/https.md

              sslContext.init(null, new TrustManager[] { trustManager }, null);
              sslSocketFactory = sslContext.getSocketFactory();
            } catch (GeneralSecurityException e) {
              throw new RuntimeException(e);
            }
    
            client = new OkHttpClient.Builder()
                .sslSocketFactory(sslSocketFactory, trustManager)
                .build();
          }
    
          public void run() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * @throws IOException
         */
        @Test
        void testHandshakeThrowsRuntimeExceptionOnFailure() throws Exception {
            // Arrange
            when(mockConnection.getHeaderField(0)).thenThrow(new RuntimeException("Connection failed"));
            doNothing().when(mockConnection).connect();
    
            // Act & Assert
            assertThrows(RuntimeCIFSException.class, () -> {
                ntlmConnection.getResponseCode();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                    || message instanceof Smb2QueryDirectoryRequest;
        }
    
        /**
         * Exception thrown when no healthy channels are available
         */
        public static class NoAvailableChannelException extends RuntimeException {
    
            private static final long serialVersionUID = 1L;
    
            /**
             * Create exception
             *
             * @param message error message
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                rc4.update(masterKey, 0, 16, exchangedKey, 0);
                            } catch (GeneralSecurityException gse) {
                                throw new RuntimeException("", gse);
                            }
                            */
    
                            setSessionKey(exchangedKey);
                        } else {
                            masterKey = ntlm2SessionKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

                              }
                            }
                            throw new NoSuchFieldError("the Unsafe");
                          });
            } catch (PrivilegedActionException e) {
              throw new RuntimeException("Could not initialize intrinsics", e.getCause());
            }
          }
          try {
            Class<?> abstractFutureState = AbstractFutureState.class;
            WAITERS_OFFSET =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top