Handling Exceptions in a Java Service

When your Java service calls other services, errors or faults that occur during the invocation translate to Java exceptions. There are two categories of exceptions:

Preferences for exception handling in generated code

In the default Java Service editor configuration, all exceptions are caught and logged in the generated Java service proxy code. To change this behavior, set the Java Editor Preferences to allow rethrowing of exceptions, then regenerate the service proxy.

Implementing Service-to-Service Calls

Generating Java Service Proxies

Setting Java Editor Preferences

Developing a Java Service

Supported Java Exceptions

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com