1 22 package org.jboss.test.exception; 23 24 import javax.ejb.CreateException ; 25 import javax.ejb.EJBException ; 26 import javax.ejb.EJBLocalObject ; 27 28 34 public interface EntityExceptionTesterLocal 35 extends EJBLocalObject 36 { 37 public String getKey(); 38 39 public void applicationExceptionInTx() 40 throws ApplicationException; 41 42 public void applicationExceptionInTxMarkRollback() 43 throws ApplicationException; 44 45 public void applicationErrorInTx(); 46 47 public void ejbExceptionInTx(); 48 49 public void runtimeExceptionInTx(); 50 51 public void applicationExceptionNewTx() 52 throws ApplicationException; 53 54 public void applicationExceptionNewTxMarkRollback() 55 throws ApplicationException; 56 57 public void applicationErrorNewTx(); 58 59 public void ejbExceptionNewTx(); 60 61 public void runtimeExceptionNewTx(); 62 63 public void applicationExceptionNoTx() 64 throws ApplicationException; 65 66 public void applicationErrorNoTx(); 67 68 public void ejbExceptionNoTx(); 69 70 public void runtimeExceptionNoTx(); 71 } | Popular Tags |