- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,810 for cause (0.08 seconds)
-
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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (0) -
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); } @TestCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
// Test constructor with message and cause String message = "Script execution failed"; Exception cause = new RuntimeException("Underlying error"); ScriptEngineException exception = new ScriptEngineException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/ClassNotFoundRuntimeException.java
* Creates a {@link ClassNotFoundRuntimeException}. * * @param cause the underlying exception */ public ClassNotFoundRuntimeException(final ClassNotFoundException cause) { this(null, cause); } /** * Creates a {@link ClassNotFoundRuntimeException}. * * @param className the class name * @param cause the underlying exception */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
// Test constructor with message and cause String message = "Storage operation failed"; Exception cause = new RuntimeException("Underlying error"); StorageException exception = new StorageException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @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) -
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 */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.7K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
internal/kms/errors.go
APICode string // The API error code identifying the error Err string // The error message returned to the client Cause error // Optional, lower level error cause. } func (e Error) Error() string { if e.Cause == nil { return e.Err } return fmt.Sprintf("%s: %v", e.Err, e.Cause) } func errKeyCreationFailed(err error) Error { return Error{ Code: http.StatusInternalServerError,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 16 14:03:03 GMT 2024 - 3.6K bytes - Click Count (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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (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); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.2K bytes - Click Count (0)