Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » mq » [javadoc | source]
org.jboss.mq
public class: SpyJMSException [javadoc | source]
java.lang.Object
   javax.jms.JMSException
      org.jboss.mq.SpyJMSException

All Implemented Interfaces:
    NestedThrowable

Direct Known Subclasses:
    DestinationFullException

A common superclass for JMSException classes that can contain a nested Throwable detail object.
Field Summary
static final  long serialVersionUID    The serialVersionUID 
protected  Throwable nested    The nested throwable 
Constructor:
 public SpyJMSException(String msg) 
    Construct a SpyJMSException with the specified detail message.
    Parameters:
    msg - Detail message.
 public SpyJMSException(Throwable nested) 
    Construct a SpyJMSException with the specified nested Throwable.
    Parameters:
    nested - Nested Throwable.
 public SpyJMSException(String msg,
    String code) 
    Construct a SpyJMSException with the specified detail message and error code.
    Parameters:
    msg - Detail message.
    code - Error code.
 public SpyJMSException(String msg,
    Throwable nested) 
    Construct a SpyJMSException with the specified detail message and nested Throwable.
    Parameters:
    msg - Detail message.
    nested - Nested Throwable.
Method from org.jboss.mq.SpyJMSException Summary:
getAsJMSException,   getCause,   getLinkedException,   getMessage,   getNested,   printStackTrace,   printStackTrace,   printStackTrace,   rethrowAsJMSException,   setLinkedException
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mq.SpyJMSException Detail:
 public static JMSException getAsJMSException(String message,
    Throwable t) 
    Converts a throwable to a JMSException if it is not already
 public Throwable getCause() 
 public Exception getLinkedException() 
 public String getMessage() 
 public Throwable getNested() 
 public  void printStackTrace() 
 public  void printStackTrace(PrintStream stream) 
 public  void printStackTrace(PrintWriter writer) 
 public static  void rethrowAsJMSException(String message,
    Throwable t) throws JMSException 
    Converts a throwable to a JMSException if it is not already
 public  void setLinkedException(Exception e)