![]() |
![]() |
|
|
tperrordetail(3c)
Name
tperrordetail()—Gets additional detail about an error generated from the last BEA Tuxedo ATMI system call.
Synopsis
#include <atmi.h>
int tperrordetail(long flags)
Description
tperrordetail() returns additional detail related to an error produced by the last BEA Tuxedo ATMI system routine called in the current thread. tperrordetail() returns a numeric value that is also represented by a symbolic name. If the last BEA Tuxedo ATMI system routine called in the current thread did not produce an error, then tperrordetail() will return zero. Therefore, tperrordetail() should be called after an error has been indicated; that is, when tperrno() has been set.
Currently flags is reserved for future use and must be set to 0.
A thread in a multithreaded application may issue a call to tperrordetail() while running in any context state, including TPINVALIDCONTEXT.
Return Values
Upon failure, tperrordetail() returns a -1 and sets tperrno() to indicate the error condition.
These are the symbolic names and meaning for each numeric value that tperrordetail() may return. The order in which these are listed is not significant and does not imply precedence.
ATMI Call |
tperrno |
Error Detail |
tpcall |
TPESVCERR |
TPED_DOMAINUNREACHABLE |
tpgetrply |
TPESVCERR |
TPED_DOMAINUNREACHABLE |
tprecv |
TPEEVENT TPEV_SVCERR |
TPED_DOMAINUNREACHABLE |
Errors
Upon failure, tperrordetail() sets tperrno() to one of the following values:
See Also
Introduction to the C Language Application-to-Transaction Monitor Interface, tpstrerrordetail(3c), tperrno(5)
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|