Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,174 for Exception (0.05 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SMBSignatureValidationException.java

     */
    package jcifs.smb;
    
    /**
     * Exception thrown when SMB message signature validation fails.
     * Indicates that the integrity of an SMB message could not be verified.
     *
     * @author mbechler
     *
     */
    public class SMBSignatureValidationException extends SmbException {
    
        /**
         * Default constructor for SMB signature validation exception.
         */
        public SMBSignatureValidationException() {
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/StorageException.java

        /**
         * Constructs a new storage exception with the specified detail message and cause.
         *
         * @param message The detail message.
         * @param cause   The cause of the exception.
         */
        public StorageException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new storage exception with the specified detail message.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            generator = new CommandGenerator();
        }
    
        // Basic setter tests
        public void test_setCommandTimeout() throws Exception {
            final long timeout = 5000L;
            generator.setCommandTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setCommandDestroyTimeout() throws Exception {
            final long timeout = 2000L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        @Test
        @DisplayName("Default constructor should create exception with null message and cause")
        void testDefaultConstructor() {
            // Given & When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException();
    
            // Then
            assertNull(exception.getMessage(), "Default constructor should have null message");
            assertNull(exception.getCause(), "Default constructor should have null cause");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testMessageConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

        }
    
        public void test_constructor_withServletExceptionWithCause() {
            // Create a root cause exception
            String rootCauseMessage = "Root cause error";
            Exception rootCause = new Exception(rootCauseMessage);
    
            // Create a ServletException with the root cause
            String servletErrorMessage = "Servlet error with cause";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            try {
                validator.initialize(annotation);
                assertTrue("Initialize should complete without exception", true);
            } catch (final Exception e) {
                fail("Initialize should not throw exception with valid annotation: " + e.getMessage());
            }
        }
    
        // Test parameter validation without relying on complex configuration
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

            assertThrows(SmbException.class, () -> {
                strictValidator.validatePath("\\share\\file<script>.txt");
            });
        }
    
        @Test
        public void testTrailingSpace() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\share\\file ");
            });
        }
    
        @Test
        public void testTrailingPeriod() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top