org.mule.example.errorhandler
Class AbstractExceptionHandler
java.lang.Object
org.mule.example.errorhandler.AbstractExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
- Direct Known Subclasses:
- BusinessHandler, DefaultHandler
public abstract class AbstractExceptionHandler
- extends java.lang.Object
- implements ExceptionHandler
AbstractExceptionListener
TODO (document class)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registry
protected java.util.HashMap registry
errorManager
protected ErrorManager errorManager
AbstractExceptionHandler
public AbstractExceptionHandler()
registerException
public void registerException(java.lang.Class exceptionClass)
- Specified by:
registerException
in interface ExceptionHandler
getRegisteredClasses
public java.util.Iterator getRegisteredClasses()
- Specified by:
getRegisteredClasses
in interface ExceptionHandler
unRegisterException
public void unRegisterException(java.lang.Class exceptionClass)
- Specified by:
unRegisterException
in interface ExceptionHandler
isRegisteredFor
public boolean isRegisteredFor(java.lang.Class exceptionClass)
- Specified by:
isRegisteredFor
in interface ExceptionHandler
onException
public void onException(ErrorMessage message)
throws HandlerException
- Specified by:
onException
in interface ExceptionHandler
- Throws:
HandlerException
processException
protected abstract void processException(ErrorMessage message,
java.lang.Throwable t)
throws HandlerException
- Throws:
HandlerException
getErrorManager
public ErrorManager getErrorManager()
- Specified by:
getErrorManager
in interface ExceptionHandler
- Returns:
- Returns the errorManager.
setErrorManager
public void setErrorManager(ErrorManager errorManager)
- Specified by:
setErrorManager
in interface ExceptionHandler
- Parameters:
errorManager
- The errorManager to set.
getendpointName
public java.lang.String getendpointName()
- Returns:
- Returns the endpointName.
setEndpointName
public void setEndpointName(java.lang.String endpointName)
- Parameters:
endpointName
- The endpointName to set.
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.