|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.db.DefaultErrorHandler
public class DefaultErrorHandler
The default database error handler.
| Constructor Summary | |
|---|---|
DefaultErrorHandler()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultErrorHandler()
| Method Detail |
|---|
public void severe(Db db,
Exception e,
String msg)
ErrorHandler
severe in interface ErrorHandlerdb - 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)
public void severe(Exception e,
String msg)
ErrorHandler
severe in interface ErrorHandlere - is the exception (may be null)msg - is an error message (may be null)
public void warning(Db db,
Exception e,
String msg)
ErrorHandler
warning in interface ErrorHandlerdb - 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)
public void warning(Exception e,
String msg)
ErrorHandler
warning in interface ErrorHandlere - is the exception (may be null)msg - is an error message (may be null)
public void info(Db db,
Exception e,
String msg)
ErrorHandler
info in interface ErrorHandlerdb - 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)
public void info(Exception e,
String msg)
ErrorHandler
info in interface ErrorHandlere - 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 | |||||||||