Laird Nelson wrote:
>
> No, I understand that.  I was just wondering if, given that the spec.
> cites argument validation exceptions as examples of application
> exceptions, the recommendation was NOT to use IllegalArgumentException
> for such validation, since IllegalArgumentException is a runtime
> exception and hence cannot be an application exception.

Please be aware that depending on the protocol, these IllegalArgumentExceptions
may arrive at the client in a different form, i.e. when using IIOP it is likely
that you would receive a java.rmi.RemoteException with the message
"CORBA UNKNOWN 0".
________________________________________________________________________________

Evan Ireland              Sybase EA Server Engineering       [EMAIL PROTECTED]
                            Wellington - New Zealand              +64 4 934-5856

===========================================================================
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