1 25 26 package org.objectweb.easybeans.tests.common.ejbs.stateful.beanmanaged.transaction; 27 28 import java.sql.SQLException ; 29 30 import javax.naming.NamingException ; 31 import javax.transaction.HeuristicMixedException ; 32 import javax.transaction.HeuristicRollbackException ; 33 import javax.transaction.NotSupportedException ; 34 import javax.transaction.RollbackException ; 35 import javax.transaction.SystemException ; 36 37 43 public interface ItfBeanManagedException { 44 45 48 String TABLE = "SFSBBeanManagedException"; 49 50 55 void startup(final String dbName) throws NamingException ; 56 57 74 void insertTableWithAppException() throws NamingException , SQLException , NotSupportedException , SystemException , 75 IllegalStateException , SecurityException , HeuristicMixedException , HeuristicRollbackException , RollbackException ; 76 77 95 void insertTableWithRuntimeException() throws NamingException , SQLException , NotSupportedException , SystemException , 96 IllegalStateException , SecurityException , HeuristicMixedException , HeuristicRollbackException , RollbackException ; 97 98 102 void emptyMethod(); 103 } 104 | Popular Tags |