use of org.apache.openejb.assembler.classic.ApplicationExceptionInfo in project tomee by apache.
the class EjbJarInfoBuilder method initApplicationExceptions.
private void initApplicationExceptions(final EjbModule jar, final EjbJarInfo ejbJarInfo) {
for (final ApplicationException applicationException : jar.getEjbJar().getAssemblyDescriptor().getApplicationException()) {
final ApplicationExceptionInfo info = new ApplicationExceptionInfo();
info.exceptionClass = applicationException.getExceptionClass();
info.rollback = applicationException.isRollback();
info.inherited = applicationException.isInherited();
ejbJarInfo.applicationException.add(info);
}
}
Aggregations