|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
com.ail.core.BaseError
public abstract class BaseError
This Error class represents the base of all bob errorss; which indicate conditions within bob that applications generally do not want to catch. They represent abnormal conditions that cannot be recovered from.
These error's may not be fatal to the application, but they do indicate some kind of system failure rather than a failure of business logic.
| Constructor Summary | |
|---|---|
BaseError(BaseException e)
Constructor Turn a BaseException into a BaseError |
|
BaseError(java.lang.String description)
Constructor |
|
BaseError(java.lang.String description,
java.lang.Throwable target)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Get the error description. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream stream)
|
void |
printStackTrace(java.io.PrintWriter writer)
|
java.lang.String |
toString()
Return a string representing this error. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseError(java.lang.String description)
description - A description of the error.
public BaseError(java.lang.String description,
java.lang.Throwable target)
description - A description of the error.target - The exception that caused this error to be thrown.public BaseError(BaseException e)
e - BaseException to convert.| Method Detail |
|---|
public java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Throwablepublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter writer)
printStackTrace in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||