PrevioussetReturnType Upjavasup throwNewExceptionNext

javasup Method throwException

Throws a Java exception object. Returns 0 if the method fails. After this method has been successfully invoked, the the COBOL method should not make further Java invocations until the exception has been handled.

exceptionObject is a COBOL proxy object to a Java Throwable object passed BY REFERENCE.

See method exceptionOccurred.

See method exceptionClear.

See method throwNewException.

Using Parameters
exceptionObject OBJECT
Returning Parameter
success PIC S9(9) COMP-5