setReturnType | javasup | throwNewException![]() |
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.
| exceptionObject | OBJECT |
| success | PIC S9(9) COMP-5 |