1 22 package org.jboss.test.exception; 23 24 import java.rmi.RemoteException ; 25 import java.security.GeneralSecurityException ; 26 import java.security.InvalidKeyException ; 27 import javax.ejb.EJBObject ; 28 29 30 36 public interface ExceptionTester extends EJBObject 37 { 38 public void applicationExceptionInTx() 39 throws ApplicationException, RemoteException ; 40 public void applicationErrorInTx() throws RemoteException ; 41 public void ejbExceptionInTx() throws RemoteException ; 42 public void runtimeExceptionInTx() throws RemoteException ; 43 public void remoteExceptionInTx() throws RemoteException ; 44 45 public void applicationExceptionNewTx() 46 throws ApplicationException, RemoteException ; 47 public void applicationErrorNewTx() throws RemoteException ; 48 public void ejbExceptionNewTx() throws RemoteException ; 49 public void runtimeExceptionNewTx() throws RemoteException ; 50 public void remoteExceptionNewTx() throws RemoteException ; 51 52 public void applicationExceptionNoTx() 53 throws ApplicationException, RemoteException ; 54 public void applicationErrorNoTx() throws RemoteException ; 55 public void ejbExceptionNoTx() throws RemoteException ; 56 public void runtimeExceptionNoTx() throws RemoteException ; 57 public void remoteExceptionNoTx() throws RemoteException ; 58 59 public void securityExceptionNoTx() 60 throws RemoteException ; 61 public void securityExceptionByAppNoTx() 62 throws InvalidKeyException , RemoteException ; 63 } 64 | Popular Tags |