Error Output

The Error Output tab lists the exceptions that can be thrown by the Java Code activity. Because the activity can return any Java exception, all potential exceptions cannot be listed here. However, the error schema for all errors is the same. The following describes the schema for exceptions returned by the Java Code activity.

Error Schema Element

Datatype

Description

msg

string

The ActiveMatrix BusinessWorks error message. For more information, see TIBCO ActiveMatrix BusinessWorks™ Error Codes.

msgCode

string

The ActiveMatrix BusinessWorks error code. For more information, see TIBCO ActiveMatrix BusinessWorks™ Error Codes.

methodName

string

The name of the Java method that raised the exception.

exceptionClassName

string

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

exceptionMessage

string

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