Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 447 for getMessages (0.34 sec)

  1. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

        void defaultConstructorSetsMessageAndStatus() {
            // Arrange & Act
            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/SingletonContextTest.java

            } catch (NoSuchFieldException | IllegalAccessException e) {
                log.error("Failed to reset SingletonContext instance", e);
                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

        public void testSUnsupportedOperationExceptionString() {
            final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge");
            assertThat(clUnsupportedOperationException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)}
         * .
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        public void test_constructor() {
            // Test default constructor
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
                assertTrue(e.getMessage().contains("TermQuery"));
            }
        }
    
        public void test_execute_withNullQuery() {
            // Test that execute handles null query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
            SMBUtil.writeInt2(65535, buffer, 0);
    
            SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Structure size != 4", ex2.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private static String getMessage(Throwable error, String def) {
            if (error == null) {
                return def;
            }
            String msg = error.getMessage();
            if (msg != null && !msg.isEmpty()) {
                return msg;
            }
            return getMessage(error.getCause(), def);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         * a call to {@link #initCause}.
         *
         * @param message the detail message. The detail message is saved for
         *                later retrieval by the {@link #getMessage()} method.
         */
        public InterpolatorException(String message) {
            super(message);
        }
    
        /**
         * Constructs a new InterpolatorException with the specified detail message and cause.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        public void test_getMessage() {
            // Test that getMessage returns null (no message set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top