|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorHandler
Interface for an error handler, i.e. some db-error that will cause the application to stop and/or log info. The handler provides the opportunity to stop it gracefully for severe errors that cannot be handled by the application (e.g. missing column).
| Method Summary | |
|---|---|
void |
info(Db db,
Exception e,
String msg)
Handles information logging (no warning, no error, no stop). |
void |
info(Exception e,
String msg)
Handles information logging (no warning, no error, no stop). |
void |
severe(Db db,
Exception e,
String msg)
Handles a fatal error. Will terminate the application usually by throwing a RuntimeException. |
void |
severe(Exception e,
String msg)
Handles a fatal error. Will terminate the application usually by throwing a RuntimeException. |
void |
warning(Db db,
Exception e,
String msg)
Handles a non-fatal error. Will not terminate the application but log the error. |
void |
warning(Exception e,
String msg)
Handles a non-fatal error. Will not terminate the application but log the error. |
| Method Detail |
|---|
void severe(Db db,
Exception e,
String msg)
db - is the db that caused the error (may be null)e - is the exception (may be null)msg - is an error message (may be null)
void severe(Exception e,
String msg)
e - is the exception (may be null)msg - is an error message (may be null)
void warning(Db db,
Exception e,
String msg)
db - is the db that caused the error (may be null)e - is the exception (may be null)msg - is an error message (may be null)
void warning(Exception e,
String msg)
e - is the exception (may be null)msg - is an error message (may be null)
void info(Db db,
Exception e,
String msg)
db - is the db that caused the error (may be null)e - is the exception (may be null)msg - is an error message (may be null)
void info(Exception e,
String msg)
e - is the exception (may be null)msg - is an error message (may be null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||