org.jboss.seam.transaction
Annotation Type SeamApplicationException


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
@Inherited
public @interface SeamApplicationException

Seam Annotation for identifying an Exception class as an Application Exception, which does not cause a transaction rollback.

This will NOT control the behavior of EJB container managed transactions. To avoid confusion, it is recommended that this annotation is only used outside an EE environment when @{link ApplicationException is not available.


Optional Element Summary
 boolean inherited
          Indicates whether the application exception designation should apply to subclasses of the annotated exception class.
 boolean rollback
          Indicates whether the container should cause the transaction to rollback when the exception is thrown.
 

inherited

public abstract boolean inherited
Indicates whether the application exception designation should apply to subclasses of the annotated exception class.

Default:
true

rollback

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

Default:
false


Copyright © 2011 Seam Framework. All Rights Reserved.