|
|||||||||||
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 com.codestreet.selector.parser.BaseException
Base class for exceptions. Allows exception chaining.
Constructor Summary | |
BaseException()
Ctor. |
|
BaseException(java.lang.String message)
Ctor. |
|
BaseException(java.lang.String msg,
java.lang.Object[] inserts,
java.lang.Throwable root)
Create a new RBaseException instance. |
|
BaseException(java.lang.String msg,
java.lang.Object insert,
java.lang.Throwable root)
Create a new RBaseException instance. |
|
BaseException(java.lang.String msg,
java.lang.Throwable root)
Ctor. |
|
BaseException(java.lang.Throwable root)
Ctor. |
Method Summary | |
static java.lang.String |
generateStackTraceString(java.lang.Throwable t)
|
java.lang.String |
getMessage()
Override Exceptin.getMessage to include information of the root causeo of the exception. |
java.lang.Throwable |
getRootCause()
Get root cause of exception. |
java.lang.String |
getStackTraceString()
Return the stack trace including root cause exceptions. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream inPrintStream)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaseException()
public BaseException(java.lang.String message)
message
- a String valuepublic BaseException(java.lang.Throwable root)
root
- Root cause of exception. Cannot be null.public BaseException(java.lang.String msg, java.lang.Throwable root)
root
- Root cause of exception. Cannot be null.public BaseException(java.lang.String msg, java.lang.Object[] inserts, java.lang.Throwable root)
msg
- Message to describe the exceptioninserts
- an Object[] valueroot
- Root cause of exception. Cannot be null.public BaseException(java.lang.String msg, java.lang.Object insert, java.lang.Throwable root)
msg
- Message to describe the exceptioninsert
- an Object valueroot
- Root cause of exception. Cannot be null.Method Detail |
public java.lang.Throwable getRootCause()
public java.lang.String getStackTraceString()
public java.lang.String getMessage()
public java.lang.String toString()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream inPrintStream)
public static java.lang.String generateStackTraceString(java.lang.Throwable t)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |