1 23 24 package javax.transaction; 25 26 import java.lang.IllegalArgumentException ; 27 import java.lang.IllegalStateException ; 28 import java.lang.SecurityException ; 29 30 34 public interface UserTransaction { 35 36 47 void begin() throws NotSupportedException , SystemException ; 48 49 73 void commit() throws RollbackException , 74 HeuristicMixedException , HeuristicRollbackException , SecurityException , 75 IllegalStateException , SystemException ; 76 77 91 void rollback() throws IllegalStateException , SecurityException , 92 SystemException ; 93 94 106 void setRollbackOnly() throws IllegalStateException , SystemException ; 107 108 119 int getStatus() throws SystemException ; 120 121 136 void setTransactionTimeout(int seconds) throws SystemException ; 137 } 138 | Popular Tags |