Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,571 for cause (0.01 sec)

  1. 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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/GsaConfigException.java

        /**
         * Constructs a new GSA configuration exception with the specified detail message and cause.
         *
         * @param message the detail message describing the configuration error
         * @param cause the cause of the exception
         */
        public GsaConfigException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        Throwable cause = e.getCause();
        if (cause == null) {
          throw e;
        }
        if (combineStackTraces) {
          StackTraceElement[] combined =
              ObjectArrays.concat(cause.getStackTrace(), e.getStackTrace(), StackTraceElement.class);
          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

        }
    
        /**
         * Constructor with component name and cause.
         * @param componentName The name of the component that is not available.
         * @param cause The cause of the exception.
         */
        public ContainerNotAvailableException(final String componentName, final Throwable cause) {
            super(componentName + " is not available.", cause);
            this.componentName = componentName;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class ExceptionWithPrivateConstructor extends Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

        /**
         * Creates a new {@link UnsupportedEncodingRuntimeException} with the specified cause.
         *
         * @param cause
         *            the cause
         */
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            return Stream.of(Arguments.of((String) null), Arguments.of(""));
        }
    
        /**
         * Validate message+cause constructor and that no interaction with cause occurs during construction.
         */
        @Test
        @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status")
        void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

         *
         * @param messageCode the message code for localized error messages
         * @param message the detailed error message
         * @param cause the cause of the exception
         */
        public InvalidQueryException(final VaMessenger<FessMessages> messageCode, final String message, final Throwable cause) {
            super(message, cause);
            this.messageCode = messageCode;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testMessageAndCauseConstructor() {
            // Test the constructor with both message and cause arguments
            String message = "Test message with cause";
            Throwable cause = new IllegalArgumentException("Invalid argument");
            RequestTimeoutException exception = new RequestTimeoutException(message, cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

            assertNull(exception.getCause(), "Cause should be null for string constructor");
        }
    
        @Test
        void testThrowableConstructor() {
            // Test the constructor with a cause
            Throwable cause = new RuntimeException("Root cause of timeout");
            ConnectionTimeoutException exception = new ConnectionTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause of timeout", exception.getMessage(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top