public abstract class WagonException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
cause
the throwable that caused this exception to get thrown
|
| Constructor and Description |
|---|
WagonException(java.lang.String message)
Constructs a new WagonException with the specified detail message and cause.
|
WagonException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new WagonException with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
|
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Initializes the cause of this throwable to the specified value.
|
private java.lang.Throwable cause
public WagonException(java.lang.String message,
java.lang.Throwable cause)
message - - the detail message (which is saved for later retrieval by the getMessage() method).cause - - the cause (which is saved for later retrieval by the getCause() method).
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)public WagonException(java.lang.String message)
message - - the detail message (which is saved for later retrieval by the getMessage() method).public java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in class java.lang.Throwable