Package org.apache.openejb.jee

Examples of org.apache.openejb.jee.ApplicationException


  private void processApplicationExceptions(EjbJar ejbJar) {
    Collection<ApplicationException> exceptionList = ejbJar.getAssemblyDescriptor().getApplicationException();
    Iterator<ApplicationException> iterator = exceptionList.iterator();

    while (iterator.hasNext()) {
      ApplicationException element = (ApplicationException) iterator.next();
      String exceptionClass = element.getExceptionClass();

      annotationHelper.addClassAnnotation(exceptionClass, javax.ejb.ApplicationException.class, null);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.openejb.jee.ApplicationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.