Hi,
It is possible. Have u'r own defined exceptions. Then catch the exceptions
from the EJB and then create an instance of u'r user def exception and then
use throw new <exception name> to throw it. it is working fine in this way.

with regards,
sivakumar


> ----------
> From:         Neelu Mehta[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Tuesday, August 05, 1997 10:23 AM
> To:   [EMAIL PROTECTED]
> Subject:      Error handling in EJB
>
> Hi All
>
>         I've defined my own Exception handling at session level, but those
> metods
> calling EJB's specific functions ex- create or FinderByPrimarykey always
> need create & FinderException respectively.  also for user defined
> functions  at Build time ejbc compiler also giving error-----Romote
> Exception must be caught.
> can any one suggest me how can i handle my own error handling???? Is it
> possible or not????
>
> Thanks in advance
> Neelu Mehta
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to