|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.groiss.util.ApplicationRtException
public class ApplicationRtException
Class for Exception thrown from Application, taken from Grand, Patterns in Java
| Field Summary | |
|---|---|
protected java.lang.Object[] |
args
|
protected ErrorFormatter |
ef
|
protected int |
errnum
|
protected java.lang.Throwable |
exception
|
protected boolean |
isWarning
|
| Constructor Summary | |
|---|---|
ApplicationRtException(int errnum)
Construct an ApplicationRtException with an exception number |
|
ApplicationRtException(int errnum,
java.lang.Object[] args,
java.lang.Throwable t)
Construct an ApplicationRtException with an exception number, parameters for that exception and the causing Throwable |
|
ApplicationRtException(java.lang.String message)
Construct an ApplicationRtException with a message. |
|
ApplicationRtException(java.lang.Throwable t)
Construct an ApplicationRtException with a Throwable |
|
| Method Summary | |
|---|---|
int |
getErrnum()
|
ErrorFormatter |
getErrorFormatter()
Returns the error formatter for this exception. |
java.lang.Throwable |
getException()
|
java.lang.String |
getMessage()
|
boolean |
isWarning()
|
void |
setErrorFormatter(ErrorFormatter ef)
Set the formatter for formatting the error page. |
void |
setWarning(boolean warning)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int errnum
protected java.lang.Throwable exception
protected java.lang.Object[] args
protected boolean isWarning
protected ErrorFormatter ef
| Constructor Detail |
|---|
public ApplicationRtException(int errnum)
public ApplicationRtException(int errnum,
java.lang.Object[] args,
java.lang.Throwable t)
public ApplicationRtException(java.lang.Throwable t)
public ApplicationRtException(java.lang.String message)
| Method Detail |
|---|
public java.lang.Throwable getException()
getException in interface TopLevelExceptionpublic void setWarning(boolean warning)
setWarning in interface TopLevelExceptionpublic boolean isWarning()
isWarning in interface TopLevelExceptionpublic int getErrnum()
getErrnum in interface TopLevelExceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic void setErrorFormatter(ErrorFormatter ef)
ef - public ErrorFormatter getErrorFormatter()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||