Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for throwable (3.43 sec)

  1. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

        /**
         * Extracts and returns the stack trace from a throwable as a string.
         * The stack trace is abbreviated if it exceeds the configured maximum length.
         *
         * @param t the throwable to extract the stack trace from
         * @return the stack trace as a string, or empty string if extraction fails
         */
        private String getStackTrace(final Throwable t) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
         */
        @Test
        void testCauseConstructor() {
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(cause);
            // When constructed with only a cause, the implementation passes (null, cause) to super
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @Test
        @DisplayName("Mocked cause: no interactions occur when stored as cause")
        void mockedCause_isStored_withoutInteraction() {
            // Arrange
            Throwable mocked = mock(Throwable.class);
    
            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException("msg", mocked);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/CIFSException.java

         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
        public CIFSException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a CIFS exception with the specified detail message.
         *
         * @param message the detail message
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with cause")
        void testConstructorWithCause() {
            // Given
            Throwable cause = new IllegalArgumentException("Invalid argument");
    
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

         *
         * @param message the detail message
         * @param cause the cause of the exception
         */
        public SMBProtocolDecodingException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message.
         *
         * @param message the detail message
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

         */
        public ContainerNotAvailableException(final String componentName, final Throwable cause) {
            super(componentName + " is not available.", cause);
            this.componentName = componentName;
        }
    
        /**
         * Constructor with cause only.
         * @param cause The cause of the exception.
         */
        public ContainerNotAvailableException(final Throwable cause) {
            super("Container is not available.");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PACDecodingException.java

         */
        public PACDecodingException(final Throwable cause) {
            this(null, cause);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message and cause.
         * @param message the detail message
         * @param cause the cause of the exception
         */
        public PACDecodingException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

            this(messageCode, new Object[0], cause);
        }
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         * @param args arguments for messages
         * @param cause cause of exception
         */
        public ClRuntimeException(final String messageCode, final Object[] args, final Throwable cause) {
            super(cause);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/FessSystemException.java

         *
         * @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.
         *
         * @param message the detail message describing the exception
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top