JpdContext.ExceptionInfo Interface
com.bea.jpd
JpdContext.ExceptionInfo Interface
- public static interface JpdContext.ExceptionInfo
-
Enclosing interface
-
JpdContext
public Exception |
-
getException ()
- This method is only valid in an exception handler.
|
public String |
-
getExceptionNodeName ()
- This method is only valid in an exception handler.
|
public int |
-
getRetriesRemaining ()
- This method is only valid within an exception handler, or in a block of code that contains an exception handler.
|
public int |
-
getRetryCount ()
- This method is only valid within an exception handler, or in a block of code that contains an exception handler.
|
getException() Method
public Exception
getException()
throws IllegalStateException
This method is only valid in an exception handler.
Returns
- The current process exception.
Exceptions
-
IllegalStateException
- if not currently in an exception handler.
getExceptionNodeName() Method
public String
getExceptionNodeName()
throws IllegalStateException
This method is only valid in an exception handler.
Returns
- the name of the node that threw the exception, or returns
null
if the node is undefined.
Exceptions
-
IllegalStateException
- if not currently in an exception handler.
getRetriesRemaining() Method
public int getRetriesRemaining()
throws IllegalStateException
This method is only valid within an exception handler, or in a block of code that contains an exception handler.
Returns
- The number of retries remaining for the current exception block.
Exceptions
-
IllegalStateException
- if not currently in an exception block or handler.
getRetryCount() Method
public int getRetryCount()
throws IllegalStateException
This method is only valid within an exception handler, or in a block of code that contains an exception handler.
Returns
- The number of times the current exception block has been retried.
Exceptions
-
IllegalStateException
- if not currently in an exception block or handler.