beautypg.com

Systemerror, Geterror, Geterrordetail – HP NonStop G-Series User Manual

Page 309: Getapplicationcode, Getstringerror

background image

systemError

boolean systemError()

Returns True if a system error occurs.

Usage Test if a system error occurred in the corresponding service invocation.

getError

int getError()

Returns The system error number.

Usage Get the system (non-TPESVCFAIL) error number. The error number is same as the
tperrno in TUXEDO.

getErrorDetail

int getErrorDetail()

Returns The detail system error number or 0.

Usage Get the detail system error number. This information is available only to TUXEDO 6.4
and then only if the service call has timed out.

getApplicationCode

int getApplicationCode()

Returns The application code.

Usage Get the application code returned by the service. The application code is same as the
tpurcode in TUXEDO.

getStringError

String getStringError()

Returns The system error message.

Usage Get the system error message. If it is not a system error, null is returned.