Exceptions in a Java Service

When a 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.

Related reference
Java Service Datatypes

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.