weblogic.wtc.jatmi
Class TPReplyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
weblogic.wtc.jatmi.TPException
weblogic.wtc.jatmi.TPReplyException
- All Implemented Interfaces:
- java.io.Serializable
public final class TPReplyException
- extends TPException
This class is the exception that represents a TPException failure when there
may also be user data on the exception that is thrown
- See Also:
- Serialized Form
Fields inherited from class weblogic.wtc.jatmi.TPException |
QMEABORTED, QMEBADMSGID, QMEBADQUEUE, QMEBADRMID, QMEINUSE, QMEINVAL, QMEINVHANDLE, QMENOMSG, QMENOSPACE, QMENOTOPEN, QMEOS, QMEPROTO, QMERELEASE, QMESHARE, QMESYSTEM, QMETRAN, QMNONE, TPEABORT, TPEBADDESC, TPEBLOCK, TPED_CLIENTDISCONNECTED, TPED_DECRYPTION_FAILURE, TPED_DOMAINUNREACHABLE, TPED_INVALID_CERTIFICATE, TPED_INVALID_SIGNATURE, TPED_INVALID_XA_TRANSACTION, TPED_INVALIDCONTEXT, TPED_NOCLIENT, TPED_NOUNSOLHANDLER, TPED_OTS_INTERNAL, TPED_PERM, TPED_SVCTIMEOUT, TPED_TERM, TPEDIAGNOSTIC, TPEEVENT, TPEHAZARD, TPEHEURISTIC, TPEINVAL, TPEITYPE, TPELIMIT, TPEMATCH, TPEMIB, TPENOENT, TPEOS, TPEOTYPE, TPEPERM, TPEPROTO, TPERELEASE, TPERMERR, TPESVCERR, TPESVCFAIL, TPESYSTEM, TPETIME, TPETRAN, TPEV_DISCONIMM, TPEV_SENDONLY, TPEV_SVCERR, TPEV_SVCFAIL, TPEV_SVCSUCC, TPGOTSIG, TPMINVAL |
Constructor Summary |
TPReplyException(int err,
int uerr,
int urcode,
int detail,
int diagnostic,
int revent,
Reply aRplyRtn)
This constructer sets the reply errno as well as the data which goes
along with it |
TPReplyException(int err,
int uerr,
int urcode,
int detail,
Reply aRplyRtn)
This constructer sets the reply errno as well as the data which goes
along with it |
TPReplyException(int err,
Reply aRplyRtn)
This is the constructor that should be used when throwing an exception
from the TuxedoService interface. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TPReplyException
public TPReplyException(int err,
Reply aRplyRtn)
throws TPException
- This is the constructor that should be used when throwing an exception
from the TuxedoService interface. err should either be TPESVCERR or
TPESVCFAIL. The aRplyRtn can contain user data to be returned in the
failure case, and the tpurcode to be returned.
- Parameters:
err
- Either TPException.TPESVCERR or TPException.TPESVCFAILaRplyRtn
- Shall contain the return user data and tpurcode
- Throws:
TPException
- if there is an invalid input
TPReplyException
public TPReplyException(int err,
int uerr,
int urcode,
int detail,
Reply aRplyRtn)
- This constructer sets the reply errno as well as the data which goes
along with it
- Parameters:
err
- The TPException valueuerr
- The Uunixerr valueurcode
- The tpurcode valuedetail
- The tperrordetail valueaRplyRtn
- The data that was returned with this error
TPReplyException
public TPReplyException(int err,
int uerr,
int urcode,
int detail,
int diagnostic,
int revent,
Reply aRplyRtn)
- This constructer sets the reply errno as well as the data which goes
along with it
- Parameters:
err
- The TPException valueuerr
- The Uunixerr valueurcode
- The tpurcode valuedetail
- The tperrordetail valuediagnostic
- The diagnostic valuerevent
- The conversational event which occurredaRplyRtn
- The data that was returned with this error
getExceptionReply
public Reply getExceptionReply()
- Gets the data that goes along with this service failure
- Returns:
- The data that goes along with this exception