|
||||||||||
| 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.ail.core.BaseException
public abstract class BaseException
This Exception class represents the base of all bob exceptions; which indicate conditions within bob that applications might want to catch.
| Constructor Summary | |
|---|---|
BaseException(BaseError e)
Constructor Build a BaseException from a BaseError. |
|
BaseException(java.lang.String description)
Constructor |
|
BaseException(java.lang.String description,
java.lang.Throwable target)
Constructor |
|
| Method Summary | |
|---|---|
void |
addError(java.lang.String s)
Add an error to the error list. |
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()
Convert this exception into a string |
| 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 BaseException(java.lang.String description)
description - A description of the error.
public BaseException(java.lang.String description,
java.lang.Throwable target)
description - A description of the error.target - The exception that cause this exception to be thrown.public BaseException(BaseError e)
e - BaseError to be converted.| Method Detail |
|---|
public java.lang.String getDescription()
public void addError(java.lang.String s)
s - Error messagepublic 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 | |||||||||