Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
If I call some Java code from ACL and the Java code throws an exception, I see a message in the status bar, but the ACL script continues.
I tried this:
if ( 0 != catch("java_instance( $myObj, 'myMethod' )") ) {
response( "Barfed." )
}
The message wasn't displayed.
Is there another way to handle the exception?
Jonathan Reeve
Practical Law Company
19 Hatfields
London SE1 8DJ
T +44 (0)20 3423 6586
E jonathan.reeve@practicallaw.com
W http://www.practicallaw.com/
You can handle the exception in the java code and call Acl.func("response","error") in the java code to response the error message