|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple interface that allows warnings and errors to be reported.
Field Summary | |
---|---|
static int |
FATAL
|
static int |
NORMAL
|
static int |
WARNING
|
Method Summary | |
---|---|
void |
receiveError(java.lang.Exception exception)
Signals an error with normal level |
void |
receiveError(java.lang.Exception exception,
int level)
Signals an error with the given error level |
void |
receiveError(java.lang.Exception exception,
java.lang.String message)
Signals an error with normal level |
void |
receiveError(java.lang.Exception exception,
java.lang.String message,
int level)
Signals an error with the given error level |
void |
receiveError(java.lang.String message)
Signals an error with normal level |
void |
receiveError(java.lang.String message,
int level)
Signals an error with the given error level |
Field Detail |
public static final int FATAL
public static final int NORMAL
public static final int WARNING
Method Detail |
public void receiveError(java.lang.Exception exception)
exception
- the Exception that caused the errorpublic void receiveError(java.lang.Exception exception, java.lang.String message)
exception
- the Exception that caused the errormessage
- an option message, used when additional information
can be provided.public void receiveError(java.lang.Exception exception, int level)
exception
- the Exception that caused the errorlevel
- the error levelpublic void receiveError(java.lang.Exception exception, java.lang.String message, int level)
exception
- the Exception that caused the errormessage
- an option message, used when additional information
can be provided.level
- the error levelpublic void receiveError(java.lang.String message)
message
- the error messagepublic void receiveError(java.lang.String message, int level)
message
- the error messagelevel
- the error level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |