| org.ow2.easybeans.tests.common.ejbs.stateful.beanmanaged.transaction.ItfBeanManagedException
All known Subclasses: org.ow2.easybeans.tests.common.ejbs.stateful.beanmanaged.transaction.SFSBBeanManagedException,
ItfBeanManagedException | public interface ItfBeanManagedException (Code) | | Used to test the Exceptions and the bean-managed transaction.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
emptyMethod | void emptyMethod()(Code) | | Does nothing.
|
insertTableWithAppException | void insertTableWithAppException() throws NamingException, SQLException, NotSupportedException, SystemException, IllegalStateException, SecurityException, HeuristicMixedException, HeuristicRollbackException, RollbackException(Code) | | Begins a transaction, inserts the data in the database, throws an
application exception and tries to commit.
throws: SQLException - if a database error occurs. throws: NamingException - if a lookup error occurs. throws: SystemException - if an unexpected error occurs. throws: NotSupportedException - if the resquest cannot be made. throws: HeuristicRollbackException - if a heuristic decision was made andsome relevant update was rolled back. throws: RollbackException - if the transaction was rolled back instead ofcommitted. throws: HeuristicMixedException - if a heuristic decision was made and somerelevant update was commited and others rolled back. throws: IllegalStateException - if the bean is not associated with atransaction. throws: SecurityException - if the bean is not allowed to commit. |
insertTableWithRuntimeException | void insertTableWithRuntimeException() throws NamingException, SQLException, NotSupportedException, SystemException, IllegalStateException, SecurityException, HeuristicMixedException, HeuristicRollbackException, RollbackException(Code) | | Begins a transaction, inserts the data in the database, throws a
runtime exception and tries to commit.
throws: SQLException - if a database error occurs. throws: NamingException - if a lookup error occurs. throws: SystemException - if an unexpected error occurs. throws: NotSupportedException - if the resquest cannot be made. throws: HeuristicRollbackException - if a heuristic decision was made andsome relevant update was rolled back. throws: RollbackException - if the transaction was rolled back instead ofcommitted. throws: HeuristicMixedException - if a heuristic decision was made and somerelevant update was commited and others rolled back. throws: IllegalStateException - if the bean is not associated with atransaction. throws: SecurityException - if the bean is not allowed to commit. |
|
|