org.springframework.jms
Class UncategorizedJmsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.jms.JmsException
                      extended by org.springframework.jms.UncategorizedJmsException
All Implemented Interfaces:
java.io.Serializable

public class UncategorizedJmsException
extends JmsException

JmsException to be thrown when no other matching subclass found.

Since:
1.1
Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
UncategorizedJmsException(java.lang.String msg)
          Constructor that takes a message.
UncategorizedJmsException(java.lang.String msg, java.lang.Throwable cause)
          Constructor that takes a message and a root cause.
UncategorizedJmsException(java.lang.Throwable cause)
          Constructor that takes a root cause only.
 
Method Summary
 
Methods inherited from class org.springframework.jms.JmsException
getErrorCode, getMessage
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UncategorizedJmsException

public UncategorizedJmsException(java.lang.String msg)
Constructor that takes a message.

Parameters:
msg - the detail message

UncategorizedJmsException

public UncategorizedJmsException(java.lang.String msg,
                                 java.lang.Throwable cause)
Constructor that takes a message and a root cause.

Parameters:
msg - the detail message
cause - the cause of the exception. This argument is generally expected to be a proper subclass of javax.jms.JMSException, but can also be a JNDI NamingException or the like.

UncategorizedJmsException

public UncategorizedJmsException(java.lang.Throwable cause)
Constructor that takes a root cause only.

Parameters:
cause - the cause of the exception. This argument is generally expected to be a proper subclass of javax.jms.JMSException, but can also be a JNDI NamingException or the like.