|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
weblogic.wtc.jatmi.TPException
public class TPException
This class is the exception that represents a TPException failure
Field Summary | |
---|---|
static int |
QMEABORTED
Diagnostic for aborted transaction |
static int |
QMEBADMSGID
Diagnostic for invalid message id |
static int |
QMEBADQUEUE
Diagnostic for invalid queue |
static int |
QMEBADRMID
Diagnostic for bad RM information |
static int |
QMEINUSE
Diagnostic for the queue being in use |
static int |
QMEINVAL
Diagnostic for invalid queue name |
static int |
QMEINVHANDLE
Diagnostic for an invalid handle |
static int |
QMENOMSG
Diagnostic for no message available |
static int |
QMENOSPACE
Diagnostic for no space available in the queue |
static int |
QMENOTOPEN
Diagnostic for the queue space not being opened |
static int |
QMEOS
Diagnostic for operating system error |
static int |
QMEPROTO
Diagnostic for protocol error |
static int |
QMERELEASE
Diagnostic for invalid Tuxedo release |
static int |
QMESHARE
Diagnostic for attempted use of non-shared queue |
static int |
QMESYSTEM
Diagnostic for system error |
static int |
QMETRAN
Diagnostic for invalid transaction |
static int |
QMNONE
No diagnostic |
static int |
TPEABORT
Transaction has aborted |
static int |
TPEBADDESC
Invalid descriptor |
static int |
TPEBLOCK
Call would have blocked |
static int |
TPED_CLIENTDISCONNECTED
The client is not connected |
static int |
TPED_DECRYPTION_FAILURE
decryption failure |
static int |
TPED_DOMAINUNREACHABLE
The remote domain was unreachable |
static int |
TPED_INVALID_CERTIFICATE
Invalid security certificate |
static int |
TPED_INVALID_SIGNATURE
Invalid security signature |
static int |
TPED_INVALID_XA_TRANSACTION
NO_XA option set but transaction attempted |
static int |
TPED_INVALIDCONTEXT
Context terminated by another thread |
static int |
TPED_NOCLIENT
The requested client does not exist |
static int |
TPED_NOUNSOLHANDLER
The client did not have an installed handler |
static int |
TPED_OTS_INTERNAL
Object Transaction System internal error |
static int |
TPED_PERM
No permission for the operation |
static int |
TPED_SVCTIMEOUT
The service timed out |
static int |
TPED_TERM
The service was terminated |
static int |
TPEDIAGNOSTIC
A diagnostic value is available |
static int |
TPEEVENT
The conversation had an even occur |
static int |
TPEHAZARD
The transaction had a hazard heuristic performed |
static int |
TPEHEURISTIC
The transaction has a heuristic performed |
static int |
TPEINVAL
Invalid input parameter |
static int |
TPEITYPE
An invlid type was sent to a service |
static int |
TPELIMIT
A system limit has been reached |
static int |
TPEMATCH
No matches for the given filter were found |
static int |
TPEMIB
A MIB error occurred |
static int |
TPENOENT
The requested entity does not exist |
static int |
TPEOS
An operating system has occurred |
static int |
TPEOTYPE
An invlid type was sent to a service |
static int |
TPEPERM
An permissions error has occurred |
static int |
TPEPROTO
Method called in an invalid context |
static int |
TPERELEASE
Invalid release for attempted operation |
static int |
TPERMERR
Resource manager error |
static int |
TPESVCERR
The service returned and error code |
static int |
TPESVCFAIL
The service failed |
static int |
TPESYSTEM
A generice system error occurred |
static int |
TPETIME
A timeout occurred |
static int |
TPETRAN
Called in a invalid transaction context |
static int |
TPEV_DISCONIMM
Disconnect imminent |
static int |
TPEV_SENDONLY
Switch to send-only mode |
static int |
TPEV_SVCERR
Service error |
static int |
TPEV_SVCFAIL
Service fail |
static int |
TPEV_SVCSUCC
Service succeeded! |
static int |
TPGOTSIG
Got a signal |
static int |
TPMINVAL
|
Constructor Summary | |
---|---|
TPException()
The default constructor leaves all errno values set to 0 |
|
TPException(int tperrno)
This constructor sets the tperrno value |
|
TPException(int tperrno,
int Uunixerr,
int tpurcode,
int tperrordetail)
This constructor set all of the errno values |
|
TPException(int tperrno,
int Uunixerr,
int tpurcode,
int tperrordetail,
int diagnostic)
This constructor set all of the errno values |
|
TPException(int tperrno,
int Uunixerr,
int tpurcode,
int tperrordetail,
int diagnostic,
int revent)
This constructor set all of the errno values |
|
TPException(int tperrno,
int Uunixerr,
int tpurcode,
int tperrordetail,
Reply aRplyRtn)
This constructor set all of the errno values |
|
TPException(int tperrno,
int Uunixerr,
int tpurcode,
int tperrordetail,
String expl)
This constructor set all of the errno values and an explanation string |
|
TPException(int tperrno,
String explain)
This constructor sets the tperrno value and an explanation string |
Method Summary | |
---|---|
int |
getdiagnostic()
Gets the queue diagnostic associated with this exception. |
Reply |
getReplyRtn()
Gets the data that goes along with this service failure |
int |
getrevent()
Gets the conversation event associated with this exception. |
int |
gettperrno()
Gets the tperrno number associated with this exception |
int |
gettperrordetail()
Gets the tperrordetail associated with this exception |
int |
gettpurcode()
Gets the tpurcode associated with this exception |
int |
getUunixerr()
Gets the Uunixerr number associated with this exception |
String |
toString()
Prints the exception in the following manner: [explanation:]tperrno:Uunixerr:tpurcode:tperrordetail:diagnostic |
static String |
tpstrerror(int errno)
Returns a string version of the tperrno error number given |
static String |
tpstrerrordetail(int errno)
Returns a string version of the tperrordetail error number given |
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 |
Field Detail |
---|
public static final int TPMINVAL
public static final int TPEABORT
public static final int TPEBADDESC
public static final int TPEBLOCK
public static final int TPEINVAL
public static final int TPELIMIT
public static final int TPENOENT
public static final int TPEOS
public static final int TPEPERM
public static final int TPEPROTO
public static final int TPESVCERR
public static final int TPESVCFAIL
public static final int TPESYSTEM
public static final int TPETIME
public static final int TPETRAN
public static final int TPGOTSIG
public static final int TPERMERR
public static final int TPEITYPE
public static final int TPEOTYPE
public static final int TPERELEASE
public static final int TPEHAZARD
public static final int TPEHEURISTIC
public static final int TPEEVENT
public static final int TPEMATCH
public static final int TPEDIAGNOSTIC
public static final int TPEMIB
public static final int TPED_SVCTIMEOUT
public static final int TPED_TERM
public static final int TPED_NOUNSOLHANDLER
public static final int TPED_NOCLIENT
public static final int TPED_DOMAINUNREACHABLE
public static final int TPED_CLIENTDISCONNECTED
public static final int TPED_PERM
public static final int TPED_OTS_INTERNAL
public static final int TPED_INVALID_CERTIFICATE
public static final int TPED_INVALID_SIGNATURE
public static final int TPED_DECRYPTION_FAILURE
public static final int TPED_INVALIDCONTEXT
public static final int TPED_INVALID_XA_TRANSACTION
public static final int QMNONE
public static final int QMEINVAL
public static final int QMEBADRMID
public static final int QMENOTOPEN
public static final int QMETRAN
public static final int QMEBADMSGID
public static final int QMESYSTEM
public static final int QMEOS
public static final int QMEABORTED
public static final int QMEPROTO
public static final int QMEBADQUEUE
public static final int QMENOMSG
public static final int QMEINUSE
public static final int QMENOSPACE
public static final int QMERELEASE
public static final int QMEINVHANDLE
public static final int QMESHARE
public static final int TPEV_DISCONIMM
public static final int TPEV_SVCERR
public static final int TPEV_SVCFAIL
public static final int TPEV_SVCSUCC
public static final int TPEV_SENDONLY
Constructor Detail |
---|
public TPException()
public TPException(int tperrno)
tperrno
- The tperrno valuepublic TPException(int tperrno, String explain)
tperrno
- The tperrno valueexplain
- A text explanation for the errorpublic TPException(int tperrno, int Uunixerr, int tpurcode, int tperrordetail)
tperrno
- The tperrno valueUunixerr
- The Uunixerr valuetpurcode
- The tpurcode valuetperrordetail
- The tperrordetail valuepublic TPException(int tperrno, int Uunixerr, int tpurcode, int tperrordetail, Reply aRplyRtn)
tperrno
- The tperrno valueUunixerr
- The Uunixerr valuetpurcode
- The tpurcode valuetperrordetail
- The tperrordetail valueaRplyRtn
- The reply objectpublic TPException(int tperrno, int Uunixerr, int tpurcode, int tperrordetail, int diagnostic)
tperrno
- The tperrno valueUunixerr
- The Uunixerr valuetpurcode
- The tpurcode valuetperrordetail
- The tperrordetail valuediagnostic
- The diagnostic valuepublic TPException(int tperrno, int Uunixerr, int tpurcode, int tperrordetail, int diagnostic, int revent)
tperrno
- The tperrno valueUunixerr
- The Uunixerr valuetpurcode
- The tpurcode valuetperrordetail
- The tperrordetail valuediagnostic
- The diagnostic valuerevent
- The conversational event which occurredpublic TPException(int tperrno, int Uunixerr, int tpurcode, int tperrordetail, String expl)
tperrno
- The tperrno valueUunixerr
- The Uunixerr valuetpurcode
- The tpurcode valuetperrordetail
- The tperrordetail valueexpl
- A text explanation stringMethod Detail |
---|
public int gettperrno()
public int getUunixerr()
public int gettpurcode()
public int gettperrordetail()
public int getdiagnostic()
public int getrevent()
public Reply getReplyRtn()
public static String tpstrerror(int errno)
errno
- The tperrno for which to get a string representation
public static String tpstrerrordetail(int errno)
errno
- The tperrordetail for which to get a string representation
public String toString()
toString
in class Throwable
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |