org.mule.transport.jms
Class JmsExceptionReader
java.lang.Object
org.mule.transport.jms.JmsExceptionReader
- All Implemented Interfaces:
- ExceptionReader
public class JmsExceptionReader
- extends java.lang.Object
- implements ExceptionReader
This reader will ensure that the LinkedException and JMS code is not lost when
printing the JMSException.
Method Summary |
java.lang.Throwable |
getCause(java.lang.Throwable t)
|
java.lang.Class<?> |
getExceptionType()
|
java.util.Map<?,?> |
getInfo(java.lang.Throwable t)
Returns a map of the non-stanard information stored on the exception |
java.lang.String |
getMessage(java.lang.Throwable t)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsExceptionReader
public JmsExceptionReader()
getMessage
public java.lang.String getMessage(java.lang.Throwable t)
- Specified by:
getMessage
in interface ExceptionReader
getCause
public java.lang.Throwable getCause(java.lang.Throwable t)
- Specified by:
getCause
in interface ExceptionReader
getExceptionType
public java.lang.Class<?> getExceptionType()
- Specified by:
getExceptionType
in interface ExceptionReader
getInfo
public java.util.Map<?,?> getInfo(java.lang.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-2010 MuleSoft, Inc.. All Rights Reserved.