Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 152 for throwable (0.16 sec)

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

         */
        public ClIllegalStateException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Creates a {@link ClIllegalStateException}.
         *
         * @param cause
         *            The original exception
         */
        public ClIllegalStateException(final Throwable cause) {
            super(cause);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/TransportException.java

         */
        public TransportException(final Throwable rootCause) {
            super(rootCause);
        }
    
        /**
         * Constructs a new TransportException with the specified detail message and cause.
         * @param msg the detail message
         * @param rootCause the cause of this exception
         */
        public TransportException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        /**
         * 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
            String msg = "auth failed";
    
            // Act
            SmbAuthException ex = new SmbAuthException(msg, mockCause);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbOperationException.java

                }
            }
            return "unknown";
        }
    
        private long extractNtStatus(Throwable cause) {
            if (cause instanceof SmbException) {
                return ((SmbException) cause).getNtStatus();
            }
            return 0;
        }
    
        private String extractServerMessage(Throwable cause) {
            if (cause instanceof SmbException) {
                // Try to get server message from SMB exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

         * @param message the error message
         * @param cause the underlying exception that caused this error
         */
        public DataStoreCrawlingException(final String url, final String message, final Throwable cause) {
            this(url, message, cause, false);
        }
    
        /**
         * Creates a new DataStoreCrawlingException with the specified URL, message, cause, and abort flag.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 08:04:23 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

    /**
     * Tests for SMBProtocolDecodingException covering all constructors and observable behavior.
     */
    @ExtendWith(MockitoExtension.class)
    public class SMBProtocolDecodingExceptionTest {
    
        @Mock
        Throwable mockCause;
    
        @Test
        @DisplayName("No-arg constructor: null message and cause; can be thrown")
        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClSQLException.java

         * @param args
         *            Array of arguments
         * @param cause
         *            The cause of the exception
         */
        public ClSQLException(final String messageCode, final Object[] args, final Throwable cause) {
            this(messageCode, args, null, 0, cause, null);
        }
    
        /**
         * Creates a {@link ClSQLException}.
         *
         * @param messageCode
         *            Message code
         * @param args
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

         * @param cause The cause.
         */
        public SuggesterException(final Throwable cause) {
            super(cause);
        }
    
        /**
         * Constructs a new SuggesterException with the specified detail message and cause.
         * @param msg The detail message.
         * @param cause The cause.
         */
        public SuggesterException(final String msg, final Throwable cause) {
            super(msg, cause);
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test constructor DcerpcException(String msg, Throwable rootCause).
         */
        @Test
        void testConstructorWithMessageAndCause() {
            String message = "Test message with cause.";
            Throwable cause = new RuntimeException("Original cause.");
            DcerpcException exception = new DcerpcException(message, cause);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            assertThat(clIllegalStateException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)}
         * .
         */
        @Test
        public void testSIllegalStateExceptionStringThrowable() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top