|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bigbross.bossa.BossaException
This class represents an exception of the Bossa system.
This exception also implements the behaviour of a nested (or chained)
exception, such as the Throwable class in Java 1.4.
This is an exception which may contain another throwable which
caused it to get thrown.
| Constructor Summary | |
BossaException()
Constructs a new BossaException object with
null as its detail message. |
|
BossaException(String message)
Constructs a new BossaException object with the
specified detail message. |
|
BossaException(String message,
Throwable cause)
Constructs a new BossaException object with the
specified detail message and cause. |
|
BossaException(Throwable cause)
Constructs a new BossaException object with the
specified cause and a detail message of
cause.toString(). |
|
| Method Summary | |
Throwable |
getCause()
Returns the cause of this BossaException. |
void |
printStackTrace()
Prints this BossaException object and its
backtrace to the standard error stream. |
void |
printStackTrace(PrintStream ps)
Prints this BossaException object and its
backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter pw)
Prints this BossaException object and its
backtrace to the specified print writer. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BossaException()
BossaException object with
null as its detail message.
public BossaException(String message)
BossaException object with the
specified detail message.
message - the detail message.
public BossaException(String message,
Throwable cause)
BossaException object with the
specified detail message and cause.
message - the detail message.cause - the cause.public BossaException(Throwable cause)
BossaException object with the
specified cause and a detail message of
cause.toString().
cause - the cause.| Method Detail |
public Throwable getCause()
BossaException. The
cause is the throwable that caused this
BossaException object to get thrown.
public void printStackTrace()
BossaException object and its
backtrace to the standard error stream.
public void printStackTrace(PrintStream ps)
BossaException object and its
backtrace to the specified print stream.
ps - PrintStream object to use for output.public void printStackTrace(PrintWriter pw)
BossaException object and its
backtrace to the specified print writer.
pw - PrintWriter object to use for output.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||