| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception org.enhydra.snapper.api.RootException
All known Subclasses: org.enhydra.snapper.api.TransactionException,
RootException | public class RootException extends Exception (Code) | | This exception is base for all exceptions defined in Shark. It
allows implementation of chain exceptions, and this implementation
takes care if JDK1.3 or JDK1.4 is used.
author: Vladimir Puskas |
Constructor Summary | |
public | RootException() Constructs a new exception with null as its detail message. | public | RootException(String message) Constructs a new exception with the specified detail message. | public | RootException(Throwable t) Constructs a new exception with the specified cause.
Parameters: t - the cause. | public | RootException(String message, Throwable t) Constructs a new exception with the specified detail message and cause.
Parameters: message - the detail message. Parameters: t - the cause. |
RootException | public RootException()(Code) | | Constructs a new exception with null as its detail message.
|
RootException | public RootException(String message)(Code) | | Constructs a new exception with the specified detail message.
Parameters: message - the detail message. |
RootException | public RootException(Throwable t)(Code) | | Constructs a new exception with the specified cause.
Parameters: t - the cause. A null value is permitted, and indicates thatthe cause is nonexistent or unknown. |
RootException | public RootException(String message, Throwable t)(Code) | | Constructs a new exception with the specified detail message and cause.
Parameters: message - the detail message. Parameters: t - the cause. A null value is permitted, and indicates thatthe cause is nonexistent or unknown. |
getCause | public Throwable getCause()(Code) | | Returns the cause of this exception.
a cause for this exception if any, null otherwise |
printStackTrace | public void printStackTrace(PrintStream ps)(Code) | | Method printStackTrace prints the stack trace to the ps PrintStream.
Parameters: ps - PrintStream used for the output. |
printStackTrace | public void printStackTrace(PrintWriter pw)(Code) | | Method printStackTrace prints the stack trace to the pw PrintWriter.
Parameters: pw - PrintWriter used for the output. |
printStackTrace | public void printStackTrace()(Code) | | Method printStackTrace prints the stack trace to the standard error stream.
|
|
|
|