Salesforce

JavaException (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

JavaException

Returns a reference to the last exception occurred by a Java operation.

Each call clears the exception when activated.

Syntax:

JavaException()

Parameters:

None

Returns:

A reference to the last exception thrown during the last operation involving a Java variable.

Example:

Update A with JavaException()

Note:

  • After you enter or select this function, you can then type a dot (.) and the Auto-Complete function will be activated.

  • To refer to multiple properties of the exception object, define a Java variable of type Exception and update it with JavaException().

  • Since this function returns a Java object, you can use it as a part of an expression, as you would with other Java objects. For example: you can use the Verify operation with JavaException(). Message in order to show the exception message.

  • This function is not available in Web Client tasks.

See also:

JavaExceptionOccurred

Java Exceptions

Reference
Attachment 
Attachment