Package hudson.util.jna
Class InitializationErrorInvocationHandler
- java.lang.Object
-
- hudson.util.jna.InitializationErrorInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler
public class InitializationErrorInvocationHandler extends Object implements InvocationHandler
InvocationHandler
that reports the same exception over and over again when methods are invoked on the interface. This is convenient to remember why the initialization of the real JNA proxy failed.- Since:
- 1.487
- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> T
create(Class<T> type, Throwable cause)
Object
invoke(Object proxy, Method method, Object[] args)
-