|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for handlers of Non Functional Exceptions
Field Summary | |
static int |
ID_Body
Remote and Mobile Object level gives the opportunity to associated more specific handlers to remote objects. |
static int |
ID_Code
Code level allows temporary handlers in the code. |
static int |
ID_Default
Default level is static and initialized in core of applications. |
static int |
ID_Future
Future level is highly used with asynchronous remote method calls. |
static int |
ID_Proxy
Proxy level is used to define reliable strategies for references to active objects. |
static int |
ID_VM
Virtual Machine level is the first level created dynamcally. |
Method Summary | |
void |
handle(NonFunctionalException e,
java.lang.Object info)
Provide a treatment for the handled exception(s) |
void |
handle(NonFunctionalException nfe,
java.lang.Object info,
java.lang.Exception e)
Provide a treatment for the handled exception(s) |
boolean |
isHandling(NonFunctionalException e)
Is the exception reliable for the handler ? |
Field Detail |
public static final int ID_Default
public static final int ID_VM
public static final int ID_Body
public static final int ID_Proxy
public static final int ID_Future
public static final int ID_Code
Method Detail |
public boolean isHandling(NonFunctionalException e)
e
- The exception checked for handler reliabilitypublic void handle(NonFunctionalException e, java.lang.Object info)
e
- The exception to be handledpublic void handle(NonFunctionalException nfe, java.lang.Object info, java.lang.Exception e) throws java.lang.Exception
e
- The exception to be handled
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |