BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogic.wtc.jatmi
Class TPReplyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byweblogic.wtc.jatmi.TPException
              extended byweblogic.wtc.jatmi.TPReplyException
All Implemented Interfaces:
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
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
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.
 
Method Summary
 Reply getExceptionReply()
          Gets the data that goes along with this service failure
 
Methods inherited from class weblogic.wtc.jatmi.TPException
getdiagnostic, getReplyRtn, getrevent, gettperrno, gettperrordetail, gettpurcode, getUunixerr, toString, tpstrerror, tpstrerrordetail
 
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
 

Constructor Detail

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


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


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.

Throws:
TPException - if there is an invalid input
Method Detail

getExceptionReply

public Reply getExceptionReply()
Gets the data that goes along with this service failure

Returns:
The data that goes along with this exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.