org.mule.config
Class DefaultExceptionReader
java.lang.Object
org.mule.config.DefaultExceptionReader
- All Implemented Interfaces:
- ExceptionReader
public final class DefaultExceptionReader
- extends Object
- implements ExceptionReader
This is the default exception reader used if there is no specific one registered
for the current exception.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExceptionReader
public DefaultExceptionReader()
getMessage
public String getMessage(Throwable t)
- Specified by:
getMessage
in interface ExceptionReader
getCause
public Throwable getCause(Throwable t)
- Specified by:
getCause
in interface ExceptionReader
getExceptionType
public Class getExceptionType()
- Specified by:
getExceptionType
in interface ExceptionReader
getInfo
public Map getInfo(Throwable t)
- Returns a map of the non-stanard information stored on the exception
- Specified by:
getInfo
in interface ExceptionReader
- Parameters:
t
- the exception to extract the information from
- Returns:
- a map of the non-stanard information stored on the exception
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.