Hi!
> > I had the same problem - take the throws EJBException out, it's
unchecked.
>
> according to the spec. an EJB 1.1 compliant bean should throw EJBException
> RemoteException. So i dont really understand...
EJBException is a subclass of RuntimeException, i.e. you do not have to
declare it in your throws clause. You shouldn't even. EJBException is used
by the bean to notify the container of strange behaviour such as
NullPointerExceptions and such. In the latest spec the bean is even not
supposed to throw a RemoteException, other than one that was called by
something that the bean itself has called (i.e. A calls B, B throws RE, then
A is allowed to rethrow the RE).
> BTW: Whats an unchecked exception?
Subclass of java.lang.RuntimeException. Does not have to be declare in
throws clause.
/Rickard
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]