try {
// todo
} catch (Exception e) {
String message = String.format("record=%s,keys=%s",checkPoints, args[1]);
System.err.println(message);
e.printStackTrace();
throw new RuntimeException(message, e);
}
原文:https://www.cnblogs.com/bregman/p/15136784.html