- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 176 for getCauses (0.08 sec)
-
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
assertNull(exception.getCause()); } public void test_constructorWithString_null() { // Test with null message JobNotFoundException exception = new JobNotFoundException((String) null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithString_empty() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
assertEquals(1, result.intValue()); } catch (Exception e) { // Expected behavior when components are not fully initialized assertTrue(e.getCause() instanceof NullPointerException || e.getCause() instanceof ContainerNotAvailableException); } finally { tempPropFile.delete(); } } public void test_process_withoutPropertiesPath() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
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() { // Test the constructor with a message String message = "Connection timed out.";
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/jcifs/pac/PACDecodingExceptionTest.java
*/ @Test void testDefaultConstructor() { PACDecodingException e = new PACDecodingException(); // Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() { String errorMessage = "This is a test error message.";
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/exception/UnsupportedSearchExceptionTest.java
assertNull(exception.getCause()); } public void test_constructor_withEmptyMessage() { // Test with empty message String message = ""; UnsupportedSearchException exception = new UnsupportedSearchException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
CIFSException exception = new CIFSException(message, cause); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should create CIFSException with cause only") void testCIFSExceptionWithCauseOnly() { // Given Exception cause = new RuntimeException("Root cause");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
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() { // Test the constructor with a message argument String message = "Test message";
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/SMBProtocolDowngradeExceptionTest.java
// Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
} @GwtIncompatible // getCauseAs(Throwable, Class) public void testGetCauseAs() { SomeCheckedException cause = new SomeCheckedException(); SomeChainingException thrown = new SomeChainingException(cause); assertThat(thrown).hasCauseThat().isSameInstanceAs(cause); assertThat(getCauseAs(thrown, SomeCheckedException.class)).isSameInstanceAs(cause);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (e.getCause() instanceof MultipleArtifactsNotFoundException) { return true; } return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException && e.getCause().getCause() instanceof ArtifactNotFoundException; } private boolean isNonTransferablePom(Exception e) { if (e.getCause() instanceof ArtifactResolutionException) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0)