- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 469 for setMessage (0.1 sec)
-
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) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
void defaultConstructor_behavesAsExpected() { // Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(); // Assert state assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
assertEquals("Runtime error", runtimeEx.getMessage()); // Test Exception Exception generalEx = new Exception("General error"); assertEquals("General error", generalEx.getMessage()); // Test with null message RuntimeException nullMessageEx = new RuntimeException(); assertNull(nullMessageEx.getMessage()); // Test with empty message
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
byte[] emptyToken = new byte[0]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(emptyToken, (byte) 0, keys)); assertEquals("Empty kerberos ticket", e.getMessage()); } @Test void testConstructorWithMalformedToken() { // Test that PACDecodingException is thrown for a malformed token byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
logger.error("Failed to purge user info.", e); resultBuf.append(e.getMessage()).append("\n"); } // update job logs try { jobLogService.updateStatus(); } catch (final Exception e) { logger.error("Failed to purge job logs.", e); resultBuf.append(e.getMessage()).append("\n"); } return resultBuf.toString(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) { assertEquals("No job.", e.getMessage()); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
} catch (FessSystemException e) { assertEquals("Invalid format: 12", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid format: 12:30:45", e.getMessage()); } try { IntervalControlHelper.parseTime("24:00");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} catch (CurlException e) { assertTrue(e.getMessage().contains("Failed to access the content")); // The cause should be another CurlException from getContentAsStream() assertTrue(e.getCause() instanceof CurlException); CurlException innerException = (CurlException) e.getCause(); assertTrue(innerException.getMessage().contains("The content does not exist"));
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
try { SerializableTester.reserializeAndAssert(orig); errorNotThrown = true; } catch (AssertionFailedError error) { // expected assertContains("must be Object#equals to", error.getMessage()); } assertFalse(errorNotThrown); } public void testClassWhichIsAlwaysEqualButHasDifferentHashcodes() { ClassWhichIsAlwaysEqualButHasDifferentHashcodes orig =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
+ artifact.getArtifactId() + ":" + artifact.getVersion() + "."; if (relocation.getMessage() != null) { message += " " + relocation.getMessage(); } if (artifact.getDependencyTrail() != null && artifact.getDependencyTrail().size() == 1) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0)