Skip to content

Commit

Permalink
Remove printStackTrace() from LegacyJava.java (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaeschke authored Dec 15, 2022
1 parent 7d10f80 commit e76dcb3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/src/main/java/javax/jdo/LegacyJava.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public static SecurityManager getSecurityManager() {
try {
sm = getSecurityManager.invoke(null);
} catch (IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
throw new JDOFatalInternalException(e.getMessage());
}
if (sm == null) {
Expand Down Expand Up @@ -107,7 +106,6 @@ public void checkPermission(JDOPermission permission) {
try {
checkPermissionMethod.invoke(null, permission);
} catch (IllegalAccessException | InvocationTargetException e) {
e.printStackTrace();
throw new JDOFatalInternalException(e.getMessage());
}
}
Expand Down

0 comments on commit e76dcb3

Please sign in to comment.