Package javax.ejb

Annotation Type ApplicationException


@Target(TYPE) @Retention(RUNTIME) public @interface ApplicationException
Applied to an exception to denote that it is an application exception and should be reported to the client directly(i.e., unwrapped).
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether the container should cause the transaction to rollback when the exception is thrown.
  • Element Details

    • rollback

      boolean rollback
      Indicates whether the container should cause the transaction to rollback when the exception is thrown.
      Default:
      false