public abstract class WagonException extends Exception
| Constructor and Description |
|---|
WagonException(String message)
Constructs a new WagonException with the specified detail message and cause.
|
WagonException(String message,
Throwable cause)
Constructs a new WagonException with the specified detail message.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.
|
Throwable |
initCause(Throwable cause)
Initializes the cause of this throwable to the specified value.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WagonException(String message, 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(String message)
message - - the detail message (which is saved for later retrieval by the getMessage() method).public Throwable getCause()
public Throwable initCause(Throwable cause)
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.