public interface ErrorObserver
| Modifier and Type | Field and Description |
|---|---|
static int |
FATAL |
static int |
NORMAL |
static int |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
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
|
static final int FATAL
static final int NORMAL
static final int WARNING
void receiveError(java.lang.Exception exception)
exception - the Exception that caused the errorvoid 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.void receiveError(java.lang.Exception exception,
int level)
exception - the Exception that caused the errorlevel - the error levelvoid 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 levelvoid receiveError(java.lang.String message)
message - the error messagevoid receiveError(java.lang.String message,
int level)
message - the error messagelevel - the error level