ExceptionInfo Interface

Syntax

public interface ExceptionInfo

Method Summary

Return Type
Description

Exception

Exception getException() throws IllegalStateException

Returns the current process exception. This method is only valid in an exception handler. Throws IllegalStateException if not currently in an exception handler.

String

getExceptionNodeName() throws IllegalStateException

Returns the name of the node in the business process that threw the exception; returns null if the node is undefined.

This method is only valid in an exception handler. Throws IllegalStateException if not currently in an exception handler.

int

getRetriesRemaining() throws IllegalStateException

Returns the number of retries remaining for the current exception block.

This method is only valid within an exception handler, or in a block of code that contains an exception handler. Throws IllegalStateException if not currently in an exception block or handler.

int

getRetryCount() throws IllegalStateException

Returns the number of times the current exception block has been retried.

This method is only valid within an exception handler, or in a block of code that contains an exception handler. Throws IllegalStateException if not currently in an exception block or handler.

Related Topics

JpdContext Interface

JwsContext Interface

ControlContext Interface

WebLogic Workshop Reference