Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 3,107 for execution (0.05 seconds)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                Exception innermost = new IOException("Innermost exception");
                Exception middle = new RuntimeException("Middle exception", innermost);
                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    
                String result = exception.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/FlushablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
        setupFlushable(true);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception on flush.
        setupFlushable(true);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

        @Test
        public void test_initializeProbes() {
            // Test that initializeProbes doesn't throw exception
            try {
                ThumbnailGenerator.initializeProbes();
                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
                fail("initializeProbes should not throw exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_main_withHelp() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            String componentName = "testComponent";
            ContainerNotAvailableException exception = new ContainerNotAvailableException(componentName);
    
            assertEquals(componentName + " is not available.", exception.getMessage());
            assertNull(exception.getCause());
            assertEquals(componentName, exception.getComponentName());
        }
    
        @Test
        public void test_constructor_withComponentNameAndCause() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Execute
            final SsoMessageException exception = new SsoMessageException(null, message, cause);
    
            // Verify
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            SsoProcessException exception = new SsoProcessException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_exceptionChaining() {
            // Test exception chaining with multiple levels
            Exception rootCause = new Exception("Network timeout");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTraceForMessageOnlyConstructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final Exception cause = new RuntimeException("Underlying error");
    
            // Execute
            final InvalidQueryException exception = new InvalidQueryException(null, message, cause);
    
            // Verify
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertNull(exception.getMessageCode());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testGetSessionKey_ThrowsCIFSException() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
                CIFSException exception = new CIFSException("Test exception");
                when(mockSmbPipeHandleInternal.getSessionKey()).thenThrow(exception);
                assertThrows(CIFSException.class, handle::getSessionKey);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            final JobProcessingException exception = new JobProcessingException((Throwable) null);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top