- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 447 for getMessages (0.06 sec)
-
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
assertEquals(servletException, runtimeException.getCause()); // Verify that the message is preserved from the cause assertTrue(runtimeException.getMessage().contains(ServletException.class.getName())); assertTrue(runtimeException.getMessage().contains(errorMessage)); } public void test_constructor_withServletExceptionWithCause() { // Create a root cause exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
// When CIFSException exception = new CIFSException(message); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertTrue(exception instanceof IOException); } @Test @DisplayName("Should create CIFSException with message and cause") void testCIFSExceptionWithCause() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
throw new TransferFailedException("Connection failed: " + e.getMessage(), e); } catch (AuthenticationException e) { throw new TransferFailedException("Authentication failed: " + e.getMessage(), e); } catch (AuthorizationException e) { throw new TransferFailedException("Authorization failed: " + e.getMessage(), e); } finally {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
@Test void testNoArgsConstructor() { // Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
scriptEngineFactory.add(null, engine); fail("Should throw IllegalArgumentException for null name"); } catch (IllegalArgumentException e) { assertEquals("name or scriptEngine is null.", e.getMessage()); } } // Test add method with null engine public void test_add_nullEngine() { try { scriptEngineFactory.add("test", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
* @return true if TCP fallback is recommended */ public boolean shouldFallbackToTcp(Exception error) { // Hardware errors suggest RDMA is not working if (error.getMessage() != null) { String message = error.getMessage().toLowerCase(); if (message.contains("hardware") || message.contains("device not found") || message.contains("driver")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertTrue(exception.getMessage().contains("FILE_EXISTS")); assertTrue(exception.getMessage().contains("File already exists")); assertTrue(exception.getMessage().contains("document.pdf already exists")); // Without custom message exception = new SmbOperationException(SmbOperationException.ErrorCode.DISK_FULL, null); assertTrue(exception.getMessage().contains("DISK_FULL"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
// Verify error message is clear and helpful assertNotNull(exception.getMessage()); assertTrue(exception.getMessage().contains("Expected structureSize = 4")); } @Test @DisplayName("Should handle zero structure size") void testZeroStructureSize() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
final StringBuilder buf = new StringBuilder(256); buf.append(cause.getMessage()).append(" : ["); SQLException next = cause.getNextException(); while (next != null) { buf.append(MessageFormatter.getSimpleMessage("ECL0071", next.getMessage(), Integer.toString(next.getErrorCode()), next.getSQLState())).append("], [");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0)