1 22 package org.jboss.test.exception; 23 24 import java.security.InvalidKeyException ; 25 import javax.ejb.EJBLocalObject ; 26 27 public interface ExceptionTesterLocal extends EJBLocalObject 28 { 29 public void applicationExceptionInTx() throws ApplicationException; 30 public void applicationErrorInTx(); 31 public void ejbExceptionInTx(); 32 public void runtimeExceptionInTx(); 33 34 public void applicationExceptionNewTx() throws ApplicationException; 35 public void applicationErrorNewTx(); 36 public void ejbExceptionNewTx(); 37 public void runtimeExceptionNewTx(); 38 39 public void applicationExceptionNoTx() throws ApplicationException; 40 public void applicationErrorNoTx(); 41 public void ejbExceptionNoTx(); 42 public void runtimeExceptionNoTx(); 43 44 public void securityExceptionNoTx(); 45 public void securityExceptionByAppNoTx() 46 throws InvalidKeyException ; 47 } 48 | Popular Tags |