|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.beepcore.beep.core.BEEPException
An exception for representing BEEP related errors.
BEEPException
adds support for exception chaining
similar to what is available in JDK 1.4.
Constructor Summary | |
BEEPException(java.lang.String message)
Constructs a new BEEPException with the specified
detail message. |
|
BEEPException(java.lang.Throwable cause)
Constructs a new BEEPException with the specified
cause and a detailed message of
(cause == null ? |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the cause of this BEEPException . |
java.lang.String |
getLocalizedMessage()
|
void |
printStackTrace()
Prints this BEEPException and its backtrace to the
standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this BEEPException and its backtrace to the
specified print stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this BEEPException and its backtrace to the
specified print writer. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BEEPException(java.lang.String message)
BEEPException
with the specified
detail message.
message
- the detailed message which is saved for later
retrieval by the getMessage()
method.public BEEPException(java.lang.Throwable cause)
BEEPException
with the specified
cause and a detailed message of
(cause == null ? null : cause.toString())
.
cause
- the cause which is saved for later retrieval by
the getCause()
method.Method Detail |
public java.lang.Throwable getCause()
BEEPException
.
getCause
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public void printStackTrace()
BEEPException
and its backtrace to the
standard error stream. If this BEEPException
was
initialized with a Throwable
the backtrace for it
will be printed as well.
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
BEEPException
and its backtrace to the
specified print stream.
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
BEEPException
and its backtrace to the
specified print writer.
printStackTrace
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |