|
Novell exteNd Messaging Platform 5.2 | |||||||||
| PREV CLASS 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
com.sssw.jms.api.JMQXAException
This exception extends javax.transaction.xa.XAException
to provide additional information about an XA exception. It supports
an API similar to java.jms.JMSException to get an error
code and a linked exception, if any.
| Field Summary |
| Fields inherited from class javax.transaction.xa.XAException |
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 |
| Constructor Summary | |
JMQXAException(Exception ex)
Construct a new JMQXAException object. |
|
JMQXAException(int errorCode)
Construct a new JMQXAException object. |
|
JMQXAException(String reason)
Construct a new JMQXAException object. |
|
| Method Summary | |
int |
getErrorCode()
Get the error code for this exception |
Exception |
getLinkedException()
Get the exception linked to this exception. |
void |
setLinkedException(Exception ex)
Set the exception linked to this exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JMQXAException(Exception ex)
JMQXAException object.
ex - The linked exception.public JMQXAException(String reason)
JMQXAException object.
reason - the reason for the exceptionpublic JMQXAException(int errorCode)
JMQXAException object.
errorCode - the exception's error code| Method Detail |
public int getErrorCode()
public Exception getLinkedException()
public void setLinkedException(Exception ex)
ex - The linked exception.
|
Novell exteNd Messaging Platform 5.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||