站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 messaging API Documentation 英文版文档

SpyTransactionRolledBackException (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyTransactionRolledBackException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byjavax.jms.TransactionRolledBackException
                  extended byorg.jboss.mq.SpyTransactionRolledBackException
All Implemented Interfaces:
org.jboss.util.NestedThrowable, Serializable

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 Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable
org.jboss.util.NestedThrowable.Util
 
Field Summary
protected  Throwable nested
          The nested throwable
 
Fields inherited from interface org.jboss.util.NestedThrowable
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
SpyTransactionRolledBackException(String msg)
          Construct a SpyTransactionRolledBackException with the specified detail message.
SpyTransactionRolledBackException(String msg, Throwable nested)
          Construct a SpyTransactionRolledBackException with the specified detail message and nested Throwable.
SpyTransactionRolledBackException(Throwable nested)
          Construct a SpyTransactionRolledBackException with the specified nested Throwable.
 
Method Summary
 Throwable getCause()
           
 Exception getLinkedException()
           
 String getMessage()
           
 Throwable getNested()
          Return the nested Throwable.
 void printStackTrace()
           
 void printStackTrace(PrintStream stream)
           
 void printStackTrace(PrintWriter writer)
           
 void setLinkedException(Exception e)
           
 
Methods inherited from class javax.jms.JMSException
getErrorCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nested

protected Throwable nested
The nested throwable

Constructor Detail

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.
Method Detail

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

setLinkedException

public void setLinkedException(Exception e)

getLinkedException

public Exception getLinkedException()

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.