- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 324 for getMessages (0.1 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K 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() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.6K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null)); assertEquals("Invalid PAC credential type", exception.getMessage()); } /** * Tests the constructor with a byte array that is too large. */ @Test void testConstructorWithDataTooLarge() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
assertTrue("Error message should contain encoding information", e.getMessage().contains("encoding")); assertTrue("Error message should contain the specific encoding", e.getMessage().contains(customEncoding)); assertTrue("Error message should indicate extraction failure", e.getMessage().contains("Failed to extract")); } finally { // Reset to default encoding
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)