org.ow2.easybeans.api.bean.info
Interface IApplicationExceptionInfo


public interface IApplicationExceptionInfo

Defines Application Exception info. We're not relying on javax.ejb.ApplicationException as they're different methods with EJB 3.0 and 3.1

Author:
Florent Benoit

Method Summary
 boolean inherited()
          Indicates whether the application exception designation should apply to subclasses of the annotated exception class.
 boolean rollback()
          Rollback the transaction before the throws ?
 

Method Detail

rollback

boolean rollback()
Rollback the transaction before the throws ?

Returns:
true if needs to rollback

inherited

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

Returns:
true if inherited exceptions are also application exception
Since:
EJB 3.1 version.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.