Error Output

The Error Output tab lists the exceptions that can be thrown by the invoked method. Once a method to invoke is selected, the exceptions that the method can throw are listed on the Error Output tab. Because a method can return any Java exception, the potential exceptions cannot be listed here.

While all potential errors cannot be known, the error schema for all errors is the same. The following describes the schema for exceptions returned by the Java Method activity.

Error Schema Element

Datatype

Description

<exceptionName>

complex

The fully-qualified name of the exception, including the Java package name. This is a container for the other elements.

<exceptionName>

Java Object

The Java exception object.

exceptionClassName

string

The exception class name. The value of this element is obtained by calling the <exception>.getClass().getName() method.

exceptionMessage

string

The exception message. The value of this element is obtained by calling the <exception>.getMessage() method.