commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] [proposal] NotImplementedException with a Throwable cause
Date Sun, 15 Feb 2004 13:49:01 GMT
I have no problem with this, however the addition must be JDK1.2 compatable,
requiring a cause private variable and a getCause() method.

Stephen

----- Original Message -----
From: "Alban Peignier" <alban.peignier@free.fr>
> Martin Cooper wrote:
>
> >Any reason you couldn't just use java.lang.UnsupportedOperationException?
It
> >extends RuntimeException, so you don't have to change the method
signature
> >when you do add the implementation.
> >
> >
> the *org.apache.commons.lang.NotImplementedException extends
> UnsupportedOperationException. No **change of the **method signature is
> needed.
>
> I propose to simply add a constructor to the NotImplementedException.*



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message