com.googlecode.catchexception.throwable.internal
Class DelegatingInterceptor
java.lang.Object
com.googlecode.catchexception.throwable.internal.DelegatingInterceptor
- All Implemented Interfaces:
- io.codearte.catchexception.shade.mockito.cglib.proxy.Callback, io.codearte.catchexception.shade.mockito.cglib.proxy.MethodInterceptor
public class DelegatingInterceptor
- extends Object
- implements io.codearte.catchexception.shade.mockito.cglib.proxy.MethodInterceptor
This interceptor delegates the method call to the target object.
- Author:
- rwoo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private Object target
- See
DelegatingInterceptor(Object).
DelegatingInterceptor
public DelegatingInterceptor(Object target)
- Parameters:
target - The object all method calls are delegated to. Must not be
null.
intercept
public Object intercept(Object obj,
Method method,
Object[] args,
io.codearte.catchexception.shade.mockito.cglib.proxy.MethodProxy proxy)
throws Throwable
- Specified by:
intercept in interface io.codearte.catchexception.shade.mockito.cglib.proxy.MethodInterceptor
- Throws:
Throwable
Copyright © 2015. All rights reserved.