Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 364 for RuntimeException (0.07 sec)

  1. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * A base exception class for CoreLib.
     *
     * @author higa
     * @author shinsuke
     */
    public class ClRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = -4452607868694297329L;
    
        /**
         * The message code.
         */
        private final String messageCode;
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

        return () -> {
          try {
            wrapped.call();
          } catch (Exception e) {
            restoreInterruptIfIsInterruptedException(e);
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        };
      }
    
      /**
       * Wraps a collection of tasks.
       *
       * @throws NullPointerException if any element of {@code tasks} is null
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                    password = session.auth.getAnsiHash(session.transport.server.encryptionKey);
                    passwordLength = password.length;
                } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
                    throw new RuntimeException("Plain text passwords are disabled");
                } else {
                    // plain text
                    password = new byte[(session.auth.password.length() + 1) * 2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
         * Test that the constructor initializes all fields correctly
         */
        @Test
        public void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

                field.setAccessible(true);
                return field.getInt(smbComDelete);
            } catch (Exception e) {
                throw new RuntimeException("Failed to get searchAttributes field", e);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SneakyThrows.java

       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SneakyThrows.java

       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
       * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in
       * fact the static type of {@link Throwable} is occasionally justified even for a method with no
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

          runCalled = true;
          assertEquals(State.RUNNING, state());
    
          enterRun.countDown();
          try {
            exitRun.await();
          } catch (InterruptedException e) {
            throw new RuntimeException(e);
          }
        }
    
        @Override
        protected void shutDown() {
          assertTrue(startUpCalled);
          assertTrue(runCalled);
          assertFalse(shutDownCalled);
          shutDownCalled = true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top