Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 364 for RuntimeException (0.11 sec)

  1. android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java

    /**
     * Unchecked version of {@link java.util.concurrent.TimeoutException}.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class UncheckedTimeoutException extends RuntimeException {
      public UncheckedTimeoutException() {}
    
      public UncheckedTimeoutException(@Nullable String message) {
        super(message);
      }
    
      public UncheckedTimeoutException(@Nullable Throwable cause) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (final IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            if (password == null) {
                throw new RuntimeException("Password parameter is required");
            }
            try {
                final MD4 md4 = new MD4();
                md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
                return md4.digest();
            } catch (final UnsupportedEncodingException uee) {
                throw new RuntimeException(uee.getMessage());
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exception/FessSystemException.java

     * This exception is thrown when system-level errors occur in the Fess application,
     * such as configuration errors, initialization failures, or critical runtime issues.
     */
    public class FessSystemException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility */
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new FessSystemException with the specified detail message and cause.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

     * into unchecked RuntimeExceptions, allowing them to be thrown from methods
     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new ServletRuntimeException wrapping the given ServletException.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
            Exception cause = new RuntimeException("Original error");
    
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_FAILED, "Failed to connect", cause);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

        }
    
      @Test fun uncaughtException() {
        val testRule = OkHttpClientTestRule()
        testRule.beforeEach(extensionContext)
    
        val thread =
          object : Thread() {
            override fun run(): Unit = throw RuntimeException("boom!")
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *            The algorithm (refer to the Javadoc of {@link MessageDigest} for available algorithms).
         *            Must not be {@literal null} or an empty string.
         * @return {@link MessageDigest}
         * @throws RuntimeException
         *             If a {@link NoSuchAlgorithmException} occurs
         */
        public static MessageDigest getInstance(final String algorithm) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

     * callers to determine which specific requests failed and why.
     *
     * @since 4.0.0
     */
    @Experimental
    public class BatchRequestException extends RuntimeException {
    
        private final List<RequestResult<?, ?>> results;
    
        /**
         * Constructs a new BatchRequestException with the specified message and results.
         *
         * @param <REQ> The type of the request
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top