Regardless, your remote interface (your business methods) have to throw
RemoteException or some superclass to this.

jim

----- Original Message -----
From: Richard Friedman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 26, 2000 11:45 AM
Subject: throws Exception


> I understand the following might be bad programming
> style but I believe the spec does not state
> specifically if throws Exception is valid throws line
> in a business method.
>
> Chapter 12 (12.2.1) it states that an application
> exception must NOT extend Runtime or Remote but it
> does not state that an Application Exception must
> extend Exception, therefore it could be construed that
> throwing (and declaring to throw) Exception would be a
> valid application exception.
>
> Any thoughts?
> Thanks in advance.
> -Rich Friedman.
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
===========================================================================
> 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