resumable

Type: Boolean

The resumable property of the Exception class specifies that execution can be resumed after the exception has been handled when the value is set to true. For system exceptions, this property is set to true by default. For fatal errors, this property is set to false.

The following example shows the use of the resumable property.

vars
    ex : UserException;
begin
    // Creates an object of the UserException Class and defines the
    // properties for this object.  The exception is then raised.
    create ex;
    ex.errorCode   := 64000;
    ex.continuable := true;
    ex.resumable   := true;
    raise ex;
end;

You cannot resume from a global exception handler. Using the Ex_Resume_Next value for a global exception handler is equivalent to returning the Ex_Abort_Action value.

Your exception handling code could check for this situation before it tries to resume an exception; for example:

...  // exception handler
if exception.resumable then
    return Ex_Resume_Next;
endif;
...

For more information about exception handling, see "Handling Exceptions", in Chapter 3 of the JADE Developer’s Reference.