类 UncategorizedJmsException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.jms.JmsException
- org.springframework.jms.UncategorizedJmsException
- 所有已实现的接口:
Serializable
public class UncategorizedJmsException extends JmsException
JmsException to be thrown when no other matching subclass found.- 从以下版本开始:
- 1.1
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 UncategorizedJmsException(String msg)
Constructor that takes a message.UncategorizedJmsException(String msg, Throwable cause)
Constructor that takes a message and a root cause.UncategorizedJmsException(Throwable cause)
Constructor that takes a root cause only.
方法概要
从类继承的方法 org.springframework.jms.JmsException
getErrorCode, getMessage
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
构造器详细资料
UncategorizedJmsException
public UncategorizedJmsException(String msg)
Constructor that takes a message.- 参数:
msg
- the detail message
UncategorizedJmsException
public UncategorizedJmsException(String msg, Throwable cause)
Constructor that takes a message and a root cause.- 参数:
msg
- the detail messagecause
- the cause of the exception. This argument is generally expected to be a proper subclass ofJMSException
, but can also be a JNDI NamingException or the like.
UncategorizedJmsException
public UncategorizedJmsException(Throwable cause)
Constructor that takes a root cause only.- 参数:
cause
- the cause of the exception. This argument is generally expected to be a proper subclass ofJMSException
, but can also be a JNDI NamingException or the like.