public interface EJBContext {
EJBHome getEJBHome();
EJBLocalHome getEJBLocalHome();
Principal getCallerPrincipal();
boolean isCallerInRole(
String roleName);
UserTransaction getUserTransaction() throws
IllegalStateException;
void setRollbackOnly() throws IllegalStateException;
boolean getRollbackOnly() throws IllegalStateException;
}
Here in
Principal getCallerPrincipal();
boolean isCallerInRole(String roleName);
There is no throws class that cantains IllegalStateException so how come it can thro this type of exception if called on MDB's.
Thanks!!
Sandy