Top Description Methods
javax.ejb

public @Interface ApplicationException

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .Retention

Applied to an exception to denote that it is an application exception and should be reported to the client directly (i.e., unwrapped).
Since
EJB 3.0

Method Summary

Modifier and TypeMethod and Description
public boolean
inherited()

Indicates whether the application exception designation should apply to subclasses of the annotated exception class.

public boolean
rollback()

Indicates whether the container should cause the transaction to rollback when the exception is thrown.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

inheritedback to summary
public boolean inherited()

Indicates whether the application exception designation should apply to subclasses of the annotated exception class.

Since
EJB 3.1
rollbackback to summary
public boolean rollback()

Indicates whether the container should cause the transaction to rollback when the exception is thrown.