Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 573 for Throwables (0.07 seconds)

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

         * @param cause the underlying exception
         */
        public NoSuchMethodRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] argTypes,
                final Throwable cause) {
            super("ECL0057", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, argTypes)), cause);
            this.targetClass = targetClass;
            this.methodName = methodName;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/MIENameTest.java

        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

                  SerializableTester.reserializeAndAssert(instance);
                } else {
                  SerializableTester.reserialize(instance);
                }
              }
            } catch (Throwable e) {
              throw sanityError(classToTest, SERIALIZABLE_TEST_METHOD_NAMES, "serializable test", e);
            }
          }
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

         *            Array of parameter types
         * @param cause
         *            The cause of the exception
         */
        public NoSuchConstructorRuntimeException(final Class<?> targetClass, final Class<?>[] argTypes, final Throwable cause) {
            super("ECL0064", asArray(targetClass.getName(), MethodUtil.getSignature(targetClass.getSimpleName(), argTypes)), cause);
            this.targetClass = targetClass;
            this.argTypes = argTypes;
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

        }
    
        @Test
        public void test_constructorWithNullCause() {
            // Test constructor with null cause
            SearchQueryException exception = new SearchQueryException((Throwable) null);
    
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
            assertTrue(exception instanceof FessSystemException);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/CurlException.java

         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CurlException with the specified detail message.
         *
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt

       * network. Both outgoing and incoming messages may have been lost. No further calls to this
       * listener will be made.
       */
      open fun onFailure(
        webSocket: WebSocket,
        t: Throwable,
        response: Response?,
      ) {
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

         * @param message The detailed error message
         * @param cause The underlying cause of this exception
         */
        public SsoMessageException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) {
            super(message, cause);
            this.messageCode = messageCode;
        }
    
        /**
         * Constructs a new SSO message exception with message code and detailed message.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
      @Suppress("UNUSED_PARAMETER")
      private fun expectedFailure(
        className: String,
        cause: Throwable,
      ): Boolean =
        when (className) {
          "okhttp3.recipes.CheckHandshake" -> true
    
          // by design
          "okhttp3.recipes.RequestBodyCompression" -> true
    
          // expired token
          else -> false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top