if (exn == Error.class || exn == RuntimeException.class)
return new AppExceptionItem(false, true, true);
else if (exn == Exception.class)
return new AppExceptionItem(true, false, true);
ApplicationExceptionConfig cfg = _appExceptionConfig.get(exn);
if (cfg != null) {
return new AppExceptionItem(true, cfg.isRollback(), cfg.isInherited());
}
ApplicationException appExn = exn.getAnnotation(ApplicationException.class);
if (appExn != null) {