|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.exceptions.handler.HandlerNonFunctionalException
Handle ProActive exceptions
Field Summary | |
protected static org.apache.log4j.Logger |
loggerNFE
|
Fields inherited from interface org.objectweb.proactive.core.exceptions.handler.Handler |
ID_Body, ID_Code, ID_Default, ID_Future, ID_Proxy, ID_VM |
Constructor Summary | |
HandlerNonFunctionalException()
Construct a handler with a suggestion to handle the problem more properly |
|
HandlerNonFunctionalException(java.lang.String suggestion)
Construct a handler with a suggestion to handle the problem more properly |
Method Summary | |
java.lang.String |
getSuggestion()
|
void |
handle(NonFunctionalException nfe,
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 ? |
void |
setSuggestion(java.lang.String string)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger loggerNFE
Constructor Detail |
public HandlerNonFunctionalException()
public HandlerNonFunctionalException(java.lang.String suggestion)
Method Detail |
public java.lang.String getSuggestion()
public void setSuggestion(java.lang.String string)
string
- Set suggestion to handle the problem more properlypublic boolean isHandling(NonFunctionalException e)
isHandling
in interface Handler
e
- The exception checked for handler reliabilitypublic void handle(NonFunctionalException nfe, java.lang.Object info)
handle
in interface Handler
nfe
- The exception to be handledpublic void handle(NonFunctionalException nfe, java.lang.Object info, java.lang.Exception e) throws java.lang.Exception
handle
in interface Handler
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 |