1 22 package org.jboss.test.exception; 23 24 import java.rmi.RemoteException ; 25 import javax.ejb.CreateException ; 26 import javax.ejb.EJBException ; 27 import javax.ejb.EJBObject ; 28 29 35 public interface EntityExceptionTester 36 extends EJBObject 37 { 38 public String getKey() throws RemoteException ; 39 40 public void applicationExceptionInTx() 41 throws ApplicationException, RemoteException ; 42 43 public void applicationExceptionInTxMarkRollback() 44 throws ApplicationException, RemoteException ; 45 46 public void applicationErrorInTx() throws RemoteException ; 47 48 public void ejbExceptionInTx() throws RemoteException ; 49 50 public void runtimeExceptionInTx() throws RemoteException ; 51 52 public void remoteExceptionInTx() throws RemoteException ; 53 54 public void applicationExceptionNewTx() 55 throws ApplicationException, RemoteException ; 56 57 public void applicationExceptionNewTxMarkRollback() 58 throws ApplicationException, RemoteException ; 59 60 public void applicationErrorNewTx() throws RemoteException ; 61 62 public void ejbExceptionNewTx() throws RemoteException ; 63 64 public void runtimeExceptionNewTx() throws RemoteException ; 65 66 public void remoteExceptionNewTx() 67 throws RemoteException ; 68 69 public void applicationExceptionNoTx() 70 throws ApplicationException, RemoteException ; 71 72 public void applicationErrorNoTx() throws RemoteException ; 73 74 public void ejbExceptionNoTx() throws RemoteException ; 75 76 public void runtimeExceptionNoTx() throws RemoteException ; 77 78 public void remoteExceptionNoTx() 79 throws RemoteException ; 80 } | Popular Tags |