|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.transaction.xa.XAException (src)
org.jboss.mq.SpyXAException
An XAException with a nested throwable
Nested Class Summary |
Nested classes inherited from class org.jboss.util.NestedThrowable (src) |
NestedThrowable.Util (src) |
Field Summary | |
protected java.lang.Throwable |
nested
The nested throwable |
Fields inherited from class javax.transaction.xa.XAException (src) |
errorCode, XA_HEURCOM, XA_HEURHAZ, XA_HEURMIX, XA_HEURRB, XA_NOMIGRATE, XA_RBBASE, XA_RBCOMMFAIL, XA_RBDEADLOCK, XA_RBEND, XA_RBINTEGRITY, XA_RBOTHER, XA_RBPROTO, XA_RBROLLBACK, XA_RBTIMEOUT, XA_RBTRANSIENT, XA_RDONLY, XA_RETRY, XAER_ASYNC, XAER_DUPID, XAER_INVAL, XAER_NOTA, XAER_OUTSIDE, XAER_PROTO, XAER_RMERR, XAER_RMFAIL |
Fields inherited from interface org.jboss.util.NestedThrowable (src) |
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED |
Constructor Summary | |
SpyXAException()
Construct a SpyXAException |
|
SpyXAException(int code)
Construct a SpyXAException with the specified detail message and error code. |
|
SpyXAException(int code,
java.lang.Throwable t)
Construct a SpyXAException with the specified detail message and error code. |
|
SpyXAException(java.lang.String msg)
Construct a SpyXAException with the specified detail message. |
|
SpyXAException(java.lang.String msg,
java.lang.Throwable t)
Construct a SpyXAException with the specified detail message. |
|
SpyXAException(java.lang.Throwable t)
Construct a SpyXAException |
Method Summary | |
java.lang.Throwable |
getCause()
Return the nested Throwable. |
java.lang.Exception |
getLinkedException()
|
java.lang.String |
getMessage()
|
java.lang.Throwable |
getNested()
Return the nested throwable. |
void |
printStackTrace()
|
void |
printStackTrace(java.io.PrintStream stream)
|
void |
printStackTrace(java.io.PrintWriter writer)
|
void |
setLinkedException(java.lang.Exception e)
|
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 |
protected java.lang.Throwable nested
Constructor Detail |
public SpyXAException()
public SpyXAException(java.lang.String msg)
msg
- Detail message.public SpyXAException(int code)
code
- Error code.public SpyXAException(java.lang.Throwable t)
public SpyXAException(java.lang.String msg, java.lang.Throwable t)
msg
- Detail message.public SpyXAException(int code, java.lang.Throwable t)
code
- Error code.Method Detail |
public java.lang.Throwable getNested()
NestedThrowable (src)
getNested
in interface NestedThrowable (src)
public java.lang.Throwable getCause()
NestedThrowable (src)
For JDK 1.4 compatibility.
getCause
in interface NestedThrowable (src)
public void setLinkedException(java.lang.Exception e)
public java.lang.Exception getLinkedException()
public java.lang.String getMessage()
public void printStackTrace(java.io.PrintStream stream)
public void printStackTrace(java.io.PrintWriter writer)
public void printStackTrace()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |