|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.util.ErrorHandler
A generalized error handler interface for the Norna package. This error handler contains an overridden
handleException method which takes an optional 'source' argument which specifies the
source object of the exeption when working on collections.
Subclasses should extend the handleImpl method to actually implement the
message handling.
| Constructor Summary | |
ErrorHandler()
|
|
| Method Summary | |
void |
handleException(java.lang.Object source,
java.lang.Throwable exception)
Handle exception with a source argument. |
abstract void |
handleException(java.lang.String msg,
java.lang.Object source,
java.lang.Throwable exception)
Handle exception with a source and a message. |
void |
handleException(java.lang.String msg,
java.lang.Throwable exception)
Handle exception with a source argument. |
void |
handleException(java.lang.Throwable exception)
Handle exception. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ErrorHandler()
| Method Detail |
public void handleException(java.lang.Throwable exception)
exception - Error to handle
public void handleException(java.lang.Object source,
java.lang.Throwable exception)
source - Event originatorexception - Error to handle
public void handleException(java.lang.String msg,
java.lang.Throwable exception)
msg - Error to msgexception - Error to handle
public abstract void handleException(java.lang.String msg,
java.lang.Object source,
java.lang.Throwable exception)
msg - Error to msg, may be nullsource - Roor source object, may be nullexception - Error to handle, may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||