} catch (Throwable t) {
String methodName = adapted.methodNames[method];
Log.log(Level.DEBUG, t.getCause(), "Internal error during method %s(%d) execution on object %s, args: %s",
methodName, method, target.getClass(), Arrays.toString(arguments));
throw new AdapterLogicException(t).rethrow();
}
}
};
}