beautypg.com

A. jolt class library errors and exceptions, Appendix a, Jolt class library errors and exceptions – HP NonStop G-Series User Manual

Page 135: Jolt error and exception handling

background image

A. Jolt Class Library Errors and
Exceptions

This appendix describes the Jolt Class Library errors and exceptions. The Jolt Class Library returns
both Jolt and TUXEDO errors and exceptions. The Jolt Class Library errors and exceptions are also
listed for each class, constructor, and method listed in

Section 7, Jolt Class Library Reference

The following topics are included in this appendix:

Jolt Error and Exception Handling

ApplicationException Class

JoltException Class

EventException Class

MessageException Class

ServiceException Class

SessionException Class

TransactionException Class

TUXEDO Errors

TUXEDO errors are described briefly in this appendix. For a complete explanation of TUXEDO
errors, refer to the TUXEDO System Reference Manual.

Jolt Error and Exception Handling

An error condition indicates that a nonrecoverable error has occurred. When an error occurs, a message
is displayed and the current method stops executing.

Note

In general, these errors are not caught in your application. Normally, Java errors and
exceptions are automatically caught by Jolt.

An exception indicates that a condition occurred that requires special handling to prevent the
application from terminating. Exceptions can be caught and handled.

Each exception or error comes with an error code and a simple text message. The following table
describes the relationship between the error code types and their messages.

Table A-1. Error Code Text Messages

If the error code

Then the text message