org.jboss.mq
Class SpyTransactionRolledBackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jms.JMSException
javax.jms.TransactionRolledBackException
org.jboss.mq.SpyTransactionRolledBackException
- All Implemented Interfaces:
- Serializable, org.jboss.util.NestedThrowable
public class SpyTransactionRolledBackException
- extends javax.jms.TransactionRolledBackException
- implements org.jboss.util.NestedThrowable
A TransactionRolledBackException with a nested Throwable detail
object.
- Version:
- $Revision: 1.3 $
- Author:
- Adrian Brock
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface 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
SpyTransactionRolledBackException
public SpyTransactionRolledBackException(String msg)
- Construct a SpyTransactionRolledBackException with the
specified detail message.
- Parameters:
msg
- Detail message.
SpyTransactionRolledBackException
public SpyTransactionRolledBackException(String msg,
Throwable nested)
- Construct a SpyTransactionRolledBackException with the
specified detail message and nested Throwable.
- Parameters:
msg
- Detail message.nested
- Nested Throwable.
SpyTransactionRolledBackException
public SpyTransactionRolledBackException(Throwable nested)
- Construct a SpyTransactionRolledBackException with the
specified nested Throwable.
- Parameters:
nested
- Nested Throwable.
getNested
public Throwable getNested()
- Return the nested Throwable.
- Specified by:
getNested
in interface org.jboss.util.NestedThrowable
- Returns:
- Nested Throwable.
getCause
public Throwable getCause()
- Specified by:
getCause
in interface org.jboss.util.NestedThrowable
- Overrides:
getCause
in class Throwable
setLinkedException
public void setLinkedException(Exception e)
- Overrides:
setLinkedException
in class javax.jms.JMSException
getLinkedException
public Exception getLinkedException()
- Overrides:
getLinkedException
in class javax.jms.JMSException
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
printStackTrace
public void printStackTrace(PrintStream stream)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace(PrintWriter writer)
- Overrides:
printStackTrace
in class Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class Throwable
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.