Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 460 for Throwable (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            Throwable cause = new RuntimeException("Root cause");
            FessSystemException exception = new FessSystemException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        public void test_constructor_withCause() {
            // Test constructor with cause only
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      /**
       * Asserts that the given throwable has the given class and then asserts on the message as using
       * the full set of method parameters.
       */
      private void assertFailureCause(
          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
          assertThat(throwable).hasMessageThat().isNull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      /**
       * Asserts that the given throwable has the given class and then asserts on the message as using
       * the full set of method parameters.
       */
      private void assertFailureCause(
          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
          assertThat(throwable).hasMessageThat().isNull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            // Mock the read operation to return a specific byte
            doAnswer(new Answer<Void>() {
                @Override
                public Void answer(InvocationOnMock invocation) throws Throwable {
                    SmbComReadAndX readCmd = invocation.getArgument(0);
                    SmbComReadAndXResponse response = invocation.getArgument(1);
                    response.dataLength = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top