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
- See Also:
- Related bug report against JDK
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
create
public static <T> T create(Class<T> type,
Throwable cause)
Copyright © 2004-2013. All Rights Reserved.