throwing runtimeException on invocationTargetException