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