org.mule.transport.jms
Class JmsExceptionReader

java.lang.Object
  extended by org.mule.transport.jms.JmsExceptionReader
All Implemented Interfaces:
org.mule.api.config.ExceptionReader

public class JmsExceptionReader
extends Object
implements org.mule.api.config.ExceptionReader

This reader will ensure that the LinkedException and JMS code is not lost when printing the JMSException.


Constructor Summary
JmsExceptionReader()
           
 
Method Summary
 Throwable getCause(Throwable t)
           
 Class<?> getExceptionType()
           
 Map<?,?> getInfo(Throwable t)
          Returns a map of the non-stanard information stored on the exception
 String getMessage(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsExceptionReader

public JmsExceptionReader()
Method Detail

getMessage

public String getMessage(Throwable t)
Specified by:
getMessage in interface org.mule.api.config.ExceptionReader

getCause

public Throwable getCause(Throwable t)
Specified by:
getCause in interface org.mule.api.config.ExceptionReader

getExceptionType

public Class<?> getExceptionType()
Specified by:
getExceptionType in interface org.mule.api.config.ExceptionReader

getInfo

public Map<?,?> getInfo(Throwable t)
Returns a map of the non-stanard information stored on the exception

Specified by:
getInfo in interface org.mule.api.config.ExceptionReader
Returns:
a map of the non-stanard information stored on the exception


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.