|
|||||||||
| 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.groiss.util.ApplicationException
public class ApplicationException
Class for Exception thrown from Application, taken from Grand, Patterns in Java
| Field Summary | |
|---|---|
protected com.groiss.component.Application |
appl
|
protected java.lang.Object[] |
args
|
protected ErrorFormatter |
ef
|
protected int |
errnum
|
protected java.lang.Throwable |
exception
|
protected boolean |
isWarning
|
| Constructor Summary | |
|---|---|
ApplicationException(com.groiss.component.Application appl,
int errnum)
Construct an ApplicationException, the exception is from a list of exceptions of a specific application. |
|
ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Object[] args)
Construct an ApplicationException, the exception is from a list of exceptions of a specific application. |
|
ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Object[] args,
java.lang.Throwable exception)
Construct an ApplicationException, the exception is from a list of exceptions of a specific application. |
|
ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Throwable exception)
Construct an ApplicationException, the exception is from a list of exceptions of a specific application. |
|
ApplicationException(com.groiss.component.Application appl,
java.lang.String msg)
Construct an ApplicationException with an arbitrary message |
|
ApplicationException(com.groiss.component.Application appl,
java.lang.String msg,
java.lang.Throwable exception)
Construct an ApplicationException with an arbitrary message. |
|
ApplicationException(java.lang.String msg)
Construct an ApplicationException with an arbitrary message |
|
ApplicationException(java.lang.String msg,
java.lang.Throwable exception)
Construct an ApplicationException with an arbitrary message and a Throwable. |
|
| Method Summary | |
|---|---|
java.lang.Object[] |
getArgs()
|
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 java.lang.Throwable exception
protected com.groiss.component.Application appl
protected int errnum
protected java.lang.Object[] args
protected boolean isWarning
protected ErrorFormatter ef
| Constructor Detail |
|---|
public ApplicationException(java.lang.String msg)
public ApplicationException(java.lang.String msg,
java.lang.Throwable exception)
public ApplicationException(com.groiss.component.Application appl,
java.lang.String msg)
public ApplicationException(com.groiss.component.Application appl,
java.lang.String msg,
java.lang.Throwable exception)
public ApplicationException(com.groiss.component.Application appl,
int errnum)
public ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Object[] args)
public ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Throwable exception)
public ApplicationException(com.groiss.component.Application appl,
int errnum,
java.lang.Object[] args,
java.lang.Throwable exception)
| Method Detail |
|---|
public java.lang.Throwable getException()
getException in interface TopLevelExceptionpublic int getErrnum()
getErrnum in interface TopLevelExceptionpublic java.lang.Object[] getArgs()
public void setWarning(boolean warning)
setWarning in interface TopLevelExceptionpublic boolean isWarning()
isWarning 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 | ||||||||