- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,810 for cause (0.12 seconds)
-
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testGetRootCause() { Exception rootCause = new IllegalStateException("Test root cause"); TransportException exception = new TransportException("Message", rootCause); assertEquals(rootCause, exception.getRootCause()); } @Test @DisplayName("Should return null when no root cause") void testGetRootCauseWhenNull() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertThat(cache.getUnchecked(new Object())).isSameInstanceAs(newValue); } public void testGetUnchecked_unchecked() { RuntimeException cause = new RuntimeException(); AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final Exception cause = new RuntimeException("Underlying error"); // Execute final InvalidQueryException exception = new InvalidQueryException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java
* * <p>Note that the detail message associated with {@code cause} is <i>not</i> * automatically incorporated in this exception's detail message.</p> * * @param message the detail message (which is saved for later retrieval * by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by theCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBProtocolDecodingException.java
} /** * Constructs a new SMBProtocolDecodingException with the specified detail message and cause. * * @param message the detail message * @param cause the cause of the exception */ public SMBProtocolDecodingException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a new SMBProtocolDecodingException with the specified detail message.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/PACDecodingException.java
* Constructs a new PAC decoding exception with the specified cause. * @param cause the cause of the exception */ public PACDecodingException(final Throwable cause) { this(null, cause); } /** * Constructs a new PAC decoding exception with the specified detail message and cause. * @param message the detail message * @param cause the cause of the exception */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (1) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
* * @param message * @param cause * @since 2.0.9 */ public MojoFailureException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoFailureException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java
super(message); } public ModelInterpolationException(String message, Throwable cause) { super(message, cause); } public ModelInterpolationException(String expression, String message, Throwable cause) { super("The POM expression: " + expression + " could not be evaluated. Reason: " + message, cause); this.expression = expression; this.originalMessage = message; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause"); final JobProcessingException exception = new JobProcessingException(cause); assertNotNull(exception); assertEquals(cause, exception.getCause()); assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
Throwable cause = exception.getCause(); if (cause instanceof PluginContainerException) { Throwable cause2 = cause.getCause(); if (cause2 instanceof NoClassDefFoundError) { String message = cause2.getMessage();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0)