|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.Notifications
public abstract class Notifications
This class encapsulates reacting to a serious error message.
Constructor Summary | |
---|---|
Notifications()
|
Method Summary | |
---|---|
void |
errorEvent(java.lang.String message)
Notify about an error event. |
abstract void |
errorEvent(java.lang.String message,
java.lang.Throwable e)
Notifies about an error event including an exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Notifications()
Method Detail |
---|
public void errorEvent(java.lang.String message)
errorEvent(String, Throwable)
with null as the second parameter.
message
- The error message to notify about.public abstract void errorEvent(java.lang.String message, java.lang.Throwable e)
message
- The error message to notify about.e
- The exception to notify about.
May be null for no exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |