BEA TUXEDO system error codes
#include <atmi.h>
The numerical value represented by the symbolic name of an error condition is assigned to tperrno
for errors that occur when executing a BEA TUXEDO system library routine.
The name tperrno
expands to a modifiable lvalue that has type int
, the value of which is set to a positive error number by several BEA TUXEDO system library routines. tperrno
need not be the identifier of an object; it might expand to a modifiable lvalue resulting from a function call. It is unspecified whether tperrno
is a macro or an identifier declared with external linkage. If a tperrno
macro definition is suppressed to access an actual object, or if a program defines an identifier with the name tperrno
, the behavior is undefined.
The reference pages for BEA TUXEDO system library routines list possible error conditions for each routine and the meaning of the error in that context. The order in which possible errors are listed is not significant and does not imply precedence. The value of tperrno
should be checked only after an error has been indicated; that is, when the return value of the component indicates an error and the component definition specifies that tperrno
is set on error. An application that checks the value of tperrno
must include the <atmi.h>
header file.
The following list describes the general meaning of each error:
TPEABORT
TPEBADDESC
TPEBLOCK
TPNOBLOCK
was specified.
TPEINVAL
TPELIMIT
TPENOENT
TPEOS
TPEPERM
TPEPROTO
TPESVCERR
tpreturn
() or tpforward
() (for example, bad arguments were passed).
TPESVCFAIL
tpreturn
() with TPFAIL
. This is an application-level failure.
TPESYSTEM
TPETIME
TPETRAN
TPGOTSIG
TPSIGRSTRT
was not specified.
TPERMERR
TPEITYPE
TPEOTYPE
TPEHAZARD
TPEHEURISTIC
TPEEVENT
TPEMATCH
Some routines do not have an error return value. Because no routine sets tperrno
to zero, an application can set tperrno
to zero, call a routine and then check tperrno
again to see if an error has occurred.
See the ERRORS
section of the individual BEA TUXEDO library routines for a more detailed description of the meaning of the error codes returned by each routine.