com.ca.jcs.processor.script.rhino
Class RhinoExceptionUnwrapper
java.lang.Object
com.ca.jcs.processor.script.rhino.RhinoExceptionUnwrapper
- All Implemented Interfaces:
- ScriptPoolFactory.ExceptionUnwrapper
public class RhinoExceptionUnwrapper
- extends Object
- implements ScriptPoolFactory.ExceptionUnwrapper
Allows exceptions thrown by Rhino 1.6R3+ scripts (ie post the Rhino version bundled with JDK 6) to be unwrapped, for instance
when a script throws an LdapNameNotFoundException.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RhinoExceptionUnwrapper
public RhinoExceptionUnwrapper()
unwrap
public Exception unwrap(Exception e)
- Attempt to unwrap e, returning it unchanged if unwrapping is not possible.
- Specified by:
unwrap in interface ScriptPoolFactory.ExceptionUnwrapper
Created 2011-07-14 13:27 EST