|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mandala.util.EmptyExceptionHandler
Empty implementation of the ExceptionHandler
interface.
This implementation always returns null
ExceptionHandler
,
Serialized FormNested Class Summary |
Nested classes inherited from class mandala.util.ExceptionHandler |
ExceptionHandler.RejectExceptionHandling, ExceptionHandler.UnHandledException |
Constructor Summary | |
EmptyExceptionHandler()
|
Method Summary | |
java.lang.Object |
handleException(java.lang.Object exceptionInfo)
This method is called when an exception occurs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmptyExceptionHandler()
Method Detail |
public java.lang.Object handleException(java.lang.Object exceptionInfo)
ExceptionHandler
This method is called when an exception occurs.
Implementation can print a verbose output, send a mail to an administrator...
The returned object (called newState
in the following)
provides information on what to do after an exception had been handled
by its ExceptionHandler.
If newState != RejectExceptionHandling.REJECT
the current
thread is allowed to continue its execution has if no exception had been
thrown. For this purpose, the thread may use the newState
returned object to recover a valid state. Else, the current thread is
allowed to re-throw the exception.
handleException
in interface ExceptionHandler
exceptionInfo
- an object representing informations on the occured
exception. It might be, the throwable itself, but can also be a
Method
object providing enough information to ensure state
recovering.
newState
object wich informs the thread whom had
called this method (which is probably the one which has caught the
exception) the following instruction to execute.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |