org.objectweb.proactive.core.exceptions.handler
Class HandlerNonFunctionalException

java.lang.Object
  extended byorg.objectweb.proactive.core.exceptions.handler.HandlerNonFunctionalException
All Implemented Interfaces:
Handler, java.io.Serializable
Direct Known Subclasses:
HandlerCommunicationException, HandlerCreationException, HandlerGroupException, HandlerMigrationException, HandlerSecurityException, HandlerServiceException

public class HandlerNonFunctionalException
extends java.lang.Object
implements Handler

Handle ProActive exceptions

Since:
ProActive 0.9.3
Version:
1.0, 2002/07/08
Author:
ProActive Team
See Also:
Serialized Form

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

loggerNFE

protected static org.apache.log4j.Logger loggerNFE
Constructor Detail

HandlerNonFunctionalException

public HandlerNonFunctionalException()
Construct a handler with a suggestion to handle the problem more properly


HandlerNonFunctionalException

public HandlerNonFunctionalException(java.lang.String suggestion)
Construct a handler with a suggestion to handle the problem more properly

Method Detail

getSuggestion

public java.lang.String getSuggestion()
Returns:
Suggestion to handle the problem more properly

setSuggestion

public void setSuggestion(java.lang.String string)
Parameters:
string - Set suggestion to handle the problem more properly

isHandling

public boolean isHandling(NonFunctionalException e)
Is the exception reliable for the handler ?

Specified by:
isHandling in interface Handler
Parameters:
e - The exception checked for handler reliability

handle

public void handle(NonFunctionalException nfe,
                   java.lang.Object info)
Provide a treatment for the handled exception(s)

Specified by:
handle in interface Handler
Parameters:
nfe - The exception to be handled

handle

public void handle(NonFunctionalException nfe,
                   java.lang.Object info,
                   java.lang.Exception e)
            throws java.lang.Exception
Provide a treatment for the handled exception(s)

Specified by:
handle in interface Handler
Parameters:
e - The exception to be handled
Throws:
java.lang.Exception


Copyright ? October 2004 INRIA All Rights Reserved.