|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ThrowableHandler
interface defines the error
management mechanism for handler implementations. Error management
implementations may process the reported error in any way necessary
but the implementations should not throw any exceptions from this
method. By definition, invocation of the handle
method
means that the error condition is handled by the
implementation.
ThrowableHelper.handle
methods to "handle" the
error. Instead, the code should create the new error object with
the triggering error object captured as its "cause"; see the
ThrowableHelper
for details.
Method Summary | |
void |
handle(java.lang.Class client,
java.lang.String property,
java.lang.String[] objects,
java.lang.Throwable cause)
Handles the error condition specified in the parameters. |
Method Detail |
public void handle(java.lang.Class client, java.lang.String property, java.lang.String[] objects, java.lang.Throwable cause)
NullPointerException
if
the client or error message property name is null
.
client
- client calling the handle methodproperty
- property name associated with error messageobjects
- objects associated with the error message, or
null
cause
- throwable condition which caused the error, or
null
java.lang.NullPointerException
- if client or property is
null
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |