예제 #1
0
 public Class getType(Scope scope) {
   Class rtnType = method.getReturnType();
   return ClassUtil.objectClass(rtnType);
 }
예제 #2
0
 private static String invocationErrMsg(InvocationTargetException ex) {
   Throwable targetEx = ex.getTargetException();
   String msg = ClassUtil.classname(targetEx.getClass()) + ": " + targetEx.getMessage();
   return msg;
 }