类 ListenerExecutionFailedException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.jms.JmsException
- org.springframework.jms.listener.adapter.ListenerExecutionFailedException
- 所有已实现的接口:
Serializable
public class ListenerExecutionFailedException extends JmsException
Exception to be thrown when the execution of a listener method failed.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
- 另请参阅:
MessageListenerAdapter
, 序列化表格
构造器概要
构造器 构造器 说明 ListenerExecutionFailedException(String msg, Throwable cause)
Constructor for ListenerExecutionFailedException.
方法概要
从类继承的方法 org.springframework.jms.JmsException
getErrorCode, getMessage
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
构造器详细资料
ListenerExecutionFailedException
public ListenerExecutionFailedException(String msg, Throwable cause)
Constructor for ListenerExecutionFailedException.- 参数:
msg
- the detail messagecause
- the exception thrown by the listener method