javax.ejb
Annotation Type ApplicationException


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ApplicationException

An exception annotated with this annotation will be an application exception and then thrown to the user.
And by default, no rollback is done before throwing the exception.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.0 specification

Optional Element Summary
 boolean rollback
          Rollback the transaction before the throws ?
 

rollback

public abstract boolean rollback
Rollback the transaction before the throws ?

Default:
false


Copyright © 2008. All Rights Reserved.