Skip to content

Commit

Permalink
Throwing a runtime exception if failing to invoke a member found via …
Browse files Browse the repository at this point in the history
…reflection. Fixes #81
  • Loading branch information
mbosecke committed Jun 30, 2015
1 parent eeb3bf4 commit 4279422
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ private Object invokeMember(Object object, Member member, Object[] argumentValue
}
}
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
e.printStackTrace();

throw new RuntimeException(e);
}
return result;
}
Expand Down

0 comments on commit 4279422

Please sign in to comment.