- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,093 for cause (0.02 sec)
-
src/test/java/org/codelibs/curl/CurlExceptionTest.java
@Test public void testConstructorWithMessageAndCause() { String message = "Test error message"; IOException cause = new IOException("IO error"); CurlException exception = new CurlException(message, cause); assertEquals(message, exception.getMessage()); assertSame(cause, exception.getCause()); assertTrue(exception instanceof RuntimeException); } @TestRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
} /** * Creates a new exception with specified cause * * @param cause * @param groupId * @param artifactId * @param version */ public UnresolvableModelException(Throwable cause, String groupId, String artifactId, String version) { super(cause); this.groupId = groupId; this.artifactId = artifactId;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor."); assertEquals(message, exception.getMessage(), "Message should match the input."); assertEquals(cause, exception.getCause(), "Cause should match the input."); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the same cause as getCause()."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
private long extractNtStatus(Throwable cause) { if (cause instanceof SmbException) { return ((SmbException) cause).getNtStatus(); } return 0; } private String extractServerMessage(Throwable cause) { if (cause instanceof SmbException) { // Try to get server message from SMB exception return cause.getMessage(); } return null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/SsoLoginException.java
/** * Constructs a new SsoLoginException with the specified detail message and cause. * * @param message The detail message explaining the SSO login failure * @param cause The underlying exception that caused this SSO login failure */ public SsoLoginException(final String message, final Throwable cause) { super(message, cause); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 08:04:23 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java
/** * Creates a new {@link UnsupportedEncodingRuntimeException} with the specified cause. * * @param cause * the cause */ public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) { super("ECL0105", new Object[] { cause.getMessage() }, cause); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClUnsupportedOperationException.java
* * @param message the message * @param cause the underlying exception */ public ClUnsupportedOperationException(final String message, final Throwable cause) { super(message, cause); } /** * Creates a {@link ClUnsupportedOperationException}. * * @param cause the underlying exception */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (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();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testMessageAndCauseConstructor() { // Test the constructor with both message and cause arguments String message = "Test message with cause"; Throwable cause = new IllegalArgumentException("Invalid argument"); RequestTimeoutException exception = new RequestTimeoutException(message, cause);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
public TwoArgConstructorException(String message, Throwable cause) { super(message, cause); } } public static final class TwoArgConstructorRuntimeException extends RuntimeException { public TwoArgConstructorRuntimeException(String message, Throwable cause) { super(message, cause); } } public static final class ExceptionWithPrivateConstructor extends Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.3K bytes - Viewed (0)