Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 683 for Cause (0.15 seconds)

  1. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        void testWithCause() {
            // Given
            IllegalArgumentException cause = new IllegalArgumentException("bad arg");
    
            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
            // IOException(Throwable) sets message to cause.toString()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test constructor with message and cause
            String message = "Test scheduled job error with cause";
            Throwable cause = new RuntimeException("Root cause exception");
            ScheduledJobException exception = new ScheduledJobException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Root cause exception", exception.getCause().getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/FessSystemException.java

        /**
         * Constructs a new FessSystemException with the specified detail message and cause.
         *
         * @param message the detail message describing the exception
         * @param cause the cause of this exception
         */
        public FessSystemException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new FessSystemException with the specified detail message.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/RemovalNotification.java

          @Nullable K key, @Nullable V value, RemovalCause cause) {
        return new RemovalNotification<>(key, value, cause);
      }
    
      private RemovalNotification(@Nullable K key, @Nullable V value, RemovalCause cause) {
        super(key, value);
        this.cause = checkNotNull(cause);
      }
    
      /** Returns the cause for which the entry was removed. */
      public RemovalCause getCause() {
        return cause;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlException.java

         * Constructs a new CurlException with the specified detail message and cause.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            return OptionalThing.of(asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause))));
        }
    
        @Override
        public OptionalThing<ApiResponse> handleServerException(final ApiFailureResource resource, final Throwable cause) {
            return OptionalThing.of(asJson(createFailureBean(Status.SYSTEM_ERROR, createMessage(resource, cause))));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

        }
    
        @Test
        public void test_toStringMethodWithCause() {
            // Test toString method behavior with cause
            String message = "Plugin error with cause";
            Throwable cause = new RuntimeException("Root cause");
            PluginException exception = new PluginException(message, cause);
    
            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test constructor with message and cause
            String message = "Script execution failed";
            Exception cause = new RuntimeException("Underlying error");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/exception/ClassNotFoundRuntimeException.java

         * Creates a {@link ClassNotFoundRuntimeException}.
         *
         * @param cause the underlying exception
         */
        public ClassNotFoundRuntimeException(final ClassNotFoundException cause) {
            this(null, cause);
        }
    
        /**
         * Creates a {@link ClassNotFoundRuntimeException}.
         *
         * @param className the class name
         * @param cause the underlying exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            // Test constructor with message and cause
            String message = "SSO authentication error";
            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
Back to Top