Object obj = clazz.newInstance();
Method selectedMethod = clazz.getDeclaredMethod(INTERCEPTOR_METHOD_NAME, InterceptorRequestContext.class);
returnObject = selectedMethod.invoke(obj, interceptorRequestContext);
if (returnObject != null) {
InterceptorResponseContext interceptorResponseContext = (InterceptorResponseContext) returnObject;
log.error(interceptorResponseContext.getMessage());
throw new CuubezException(interceptorResponseContext.getMessage(), interceptorResponseContext.getCode());
}
} catch (IllegalAccessException e) {
log.error(e);
throw new CuubezException(CuubezExceptionConstance.INVOCATION_EXCEPTION);