| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.openlaszlo.utils.ChainedException
Constructor Summary | |
public | ChainedException(String message) Constructs an instance. | public | ChainedException(String message, Throwable cause) Constructs a new runtime exception with the specified detail
message and cause.
Parameters: message - the detail message (which is saved for later retrieval bythe Throwable.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval by theThrowable.getCause() method). | public | ChainedException(Throwable cause) Constructs a new runtime exception with the specified cause, which
typically contains the class and detail message of cause.
Parameters: cause - the cause, which is saved for later retrieval by theThrowable.getCause() method. |
ChainedException | public ChainedException(String message)(Code) | | Constructs an instance.
Parameters: message - a string |
ChainedException | public ChainedException(String message, Throwable cause)(Code) | | Constructs a new runtime exception with the specified detail
message and cause.
Parameters: message - the detail message (which is saved for later retrieval bythe Throwable.getMessage() method). Parameters: cause - the cause (which is saved for later retrieval by theThrowable.getCause() method). (A null value is permitted, and indicatesthat the cause is nonexistent or unknown.) |
ChainedException | public ChainedException(Throwable cause)(Code) | | Constructs a new runtime exception with the specified cause, which
typically contains the class and detail message of cause.
Parameters: cause - the cause, which is saved for later retrieval by theThrowable.getCause() method. A null value is permitted, and indicatesthat the cause is nonexistent or unknown. |
getCause | public Throwable getCause()(Code) | | Returns the cause of this throwable or null if the cause is nonexistent
or unknown. (The cause is the throwable that caused this throwable to get
thrown.)
the cause of this throwable or null if the cause is nonexistentor unknown. |
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | Prints this throwable and its backtrace to the specified print stream.
Parameters: s - PrintStream to use for output. |
printStackTrace | public void printStackTrace(java.io.PrintWriter pw)(Code) | | Prints this throwable and its backtrace to the specified print stream.
Parameters: s - PrintWriter to use for output. |
|
|
|