com.oracle.tuxedo.tjatmi
Class TuxATMITPReplyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oracle.tuxedo.tjatmi.TuxATMITPException
com.oracle.tuxedo.tjatmi.TuxATMITPReplyException
- All Implemented Interfaces:
- java.io.Serializable
public final class TuxATMITPReplyException
- extends TuxATMITPException
This class is the exception that represents a TuxATMITPException
failure when there may also be user data on the exception that is thrown.
- Author:
- Oracle, Inc.
- See Also:
- Serialized Form
Fields inherited from class com.oracle.tuxedo.tjatmi.TuxATMITPException |
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_DECUTCM_FAILURE, TPED_DOMAINUNREACHABLE, TPED_GROUP_FORBIDDEN, TPED_INVALID_CERTIFICATE, TPED_INVALID_SIGNATURE, TPED_INVALID_XA_TRANSACTION, TPED_INVALIDCONTEXT, TPED_MAXVAL, TPED_MBCONV, TPED_NOCLIENT, TPED_NOUNSOLHANDLER, TPED_OTS_INTERNAL, TPED_PERM, TPED_RDMA_INVALIDQUEUE, TPED_RDMA_MSGQDAEMON, TPED_RDMA_NOMEMORY, 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, TPGOTSIG, TPMINVAL |
Constructor Summary |
TuxATMITPReplyException(int err,
int uerr,
long urcode,
long detail,
long diagnostic,
TuxATMIReply aRplyRtn)
This constructor sets the reply errno as well as the data which goes
along with it |
TuxATMITPReplyException(int err,
int uerr,
long urcode,
long detail,
TuxATMIReply aRplyRtn)
This constructor sets the reply errno as well as the data which goes
along with it |
TuxATMITPReplyException(int err,
TuxATMIReply aRplyRtn)
This is the constructor of the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TuxATMITPReplyException
public TuxATMITPReplyException(int err,
TuxATMIReply aRplyRtn)
throws TuxATMITPException
- This is the constructor of the exception.
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 TuxATMITPException.TPESVCERR or TuxATMITPException.TPESVCFAILaRplyRtn
- Shall contain the return user data and tpurcode
- Throws:
TuxATMITPException
- The tperrno is set to TuxATMITPException.TPEINVAL
if there is an invalid input
TuxATMITPReplyException
public TuxATMITPReplyException(int err,
int uerr,
long urcode,
long detail,
TuxATMIReply aRplyRtn)
- This constructor sets the reply errno as well as the data which goes
along with it
- Parameters:
err
- The TuxATMITPException valueuerr
- The Uunixerr valueurcode
- The tpurcode valuedetail
- The tperrordetail valueaRplyRtn
- The data that was returned with this error
TuxATMITPReplyException
public TuxATMITPReplyException(int err,
int uerr,
long urcode,
long detail,
long diagnostic,
TuxATMIReply aRplyRtn)
- This constructor sets the reply errno as well as the data which goes
along with it
- Parameters:
err
- The TuxATMITPException valueuerr
- The Uunixerr valueurcode
- The tpurcode valuedetail
- The tperrordetail valuediagnostic
- The diagnostic valueaRplyRtn
- The data that was returned with this error
getExceptionReply
public TuxATMIReply getExceptionReply()
- Gets the data that goes along with this service failure
- Returns:
- The data that goes along with this exception