Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 158 for throwable (1.92 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcException.java

         *
         * @param msg
         *            the error message
         * @param rootCause
         *            the underlying cause of this exception
         */
        public DcerpcException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
         * Returns the DCE/RPC error code associated with this exception
         *
         * @return the error code
         */
        public int getErrorCode() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            try {
                client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
                final Throwable[] causes = e.getCauses();
                assertEquals(5, causes.length);
            }
            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/test/java/jcifs/spnego/SpnegoExceptionTest.java

            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
            // IOException(Throwable) sets message to cause.toString()
            assertEquals(cause.toString(), ex.getMessage());
        }
    
        @Test
        @DisplayName("Should create SpnegoException with message and cause")
        void testWithMessageAndCause() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbException.java

         *
         * @param errcode the SMB error code
         * @param rootCause the underlying cause of this exception
         */
        public SmbException(final int errcode, final Throwable rootCause) {
            super(getMessageByCode(errcode), rootCause);
            this.status = getStatusByCode(errcode);
        }
    
        /**
         * Constructs an SmbException with the specified detail message
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top