当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
SpyJMSException (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
org.jboss.mq
Class SpyJMSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jms.JMSException
org.jboss.mq.SpyJMSException
- All Implemented Interfaces:
- org.jboss.util.NestedThrowable, Serializable
- Direct Known Subclasses:
- DestinationFullException
- public class SpyJMSException
- extends javax.jms.JMSException
- implements org.jboss.util.NestedThrowable
A common superclass for JMSException classes that can contain a
nested Throwable detail object.
- Version:
- $Revision: 1.7 $
- Author:
- Jason Dillon, Adrian Brock
- See Also:
- Serialized Form
Nested classes inherited from class org.jboss.util.NestedThrowable |
org.jboss.util.NestedThrowable.Util |
Fields inherited from interface org.jboss.util.NestedThrowable |
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED |
Methods inherited from class javax.jms.JMSException |
getErrorCode |
nested
protected Throwable nested
- The nested throwable
SpyJMSException
public SpyJMSException(String msg)
- Construct a SpyJMSException with the specified detail message.
- Parameters:
msg
- Detail message.
SpyJMSException
public SpyJMSException(String msg,
String code)
- Construct a SpyJMSException with the specified detail message
and error code.
- Parameters:
msg
- Detail message.code
- Error code.
SpyJMSException
public SpyJMSException(String msg,
Throwable nested)
- Construct a SpyJMSException with the specified detail message
and nested Throwable.
- Parameters:
msg
- Detail message.nested
- Nested Throwable.
SpyJMSException
public SpyJMSException(Throwable nested)
- Construct a SpyJMSException with the specified nested Throwable.
- Parameters:
nested
- Nested Throwable.
setLinkedException
public void setLinkedException(Exception e)
getLinkedException
public Exception getLinkedException()
getNested
public Throwable getNested()
- Specified by:
getNested
in interface org.jboss.util.NestedThrowable
getCause
public Throwable getCause()
- Specified by:
getCause
in interface org.jboss.util.NestedThrowable
getMessage
public String getMessage()
printStackTrace
public void printStackTrace(PrintStream stream)
printStackTrace
public void printStackTrace(PrintWriter writer)
printStackTrace
public void printStackTrace()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.