Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,174 for Exception (0.13 sec)

  1. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author wyukawa
     *
     */
    public class EmptyIteratorTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertNotNull(exception);
            assertEquals(SmbOperationException.ErrorCode.FILE_NOT_FOUND, exception.getErrorCode());
            assertTrue(exception.getMessage().contains("FILE_NOT_FOUND"));
            assertTrue(exception.getMessage().contains("test.txt"));
            assertEquals(SmbOperationException.ErrorCategory.FILE_SYSTEM, exception.getErrorCategory());
            assertFalse(exception.isRetryable());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            }
    
            ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString());
    
            assertNotNull(exception);
            assertTrue(exception.getMessage().startsWith("Not Found: http://example.com/"));
            assertTrue(exception.getMessage().contains("Parent: http://example.com/"));
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CIFSExceptionTest.java

            // Given
            String message = "CIFS operation failed";
            Exception cause = new RuntimeException("Root cause");
    
            // When
            CIFSException exception = new CIFSException(message, cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        @Test
        @DisplayName("No collaborator interaction occurs if exception is thrown beforehand")
        void noInteraction_whenExceptionOccursBeforeCall() {
            // Arrange
            Runnable r = mock(Runnable.class);
    
            // Act: simulate control flow where the exception happens before any collaborator is used
            try {
                throw new SmbUnsupportedOperationException();
            } catch (SmbUnsupportedOperationException ignored) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator = new ServerResponseValidator();
        }
    
        @Test
        public void testValidBuffer() throws Exception {
            byte[] buffer = new byte[1024];
            validator.validateBuffer(buffer, 100, 2048);
            // Should pass without exception
        }
    
        @Test
        public void testNullBuffer() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validateBuffer(null, 100, 1024);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.mylasta.action.FessMessages;
    import org.lastaflute.web.validation.VaMessenger;
    
    /**
     * Exception thrown during SSO (Single Sign-On) processing with message code support.
     *
     * This exception is used to indicate errors that occur during SSO authentication
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

    import junit.framework.TestCase;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ClassLoaderUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetClassLoader() throws Exception {
            assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimeConverter() throws Exception {
            assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimestampConverter() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/CIFSException.java

         * Constructs a CIFS exception with the specified detail message and cause.
         *
         * @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)
Back to top