Hi all,
I just want small tips on remebering the Exceptions thrown by
EJB.
I am reading the HF EJB book and i found getPrimaryKey() from session bean is throwing 2 different exceptions in two different situations.
Below is the statments from HF EJB book page 559 and 560.
1)[page 559]When client calls getPrimaryKey() on component interface of session bean, he will get RemoteException
2)[page 560]When a session bean calls getPrimaryKey() on its context , he will get an
IllegalStateException.
In both cases client is acccessing getPrimaryKey() metho and gettting different exception.I just want how to easily remember these kind of exceptions ?
Thanks
raju