Manorrock logo
Almanacs     Products     Open SourceSign In

EJB @ApplicationException

Javadoc

The @ApplicationException annotation is used to signal an exception that needs to reported back to the EJB client unwrapped, meaning not inside a EJB exception, but straight to the client. Note the example also forces any associated transaction to rollback.

  
  @ApplicationException(rollback=true)
  public class MyAppException extends Exception {
  }
                

Up


Documents     Press releasesAbout us     Privacy    
Copyright notice