The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
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