[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NYIException
From: |
Michael Koch |
Subject: |
Re: NYIException |
Date: |
Fri, 26 Sep 2003 17:56:25 +0200 |
User-agent: |
KMail/1.5.2 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 26. September 2003 17:33 schrieb Sascha Brawer:
> Hi Andy,
>
> >> [NotYetImplementedException]
> >
> > [JavaDoc tag]
> >
> >Do you mean additionally to the exception or instead?
>
> With a JavaDoc tag (or some other convention for comments), there
> would be no need to distinguish between
> NotYetImplementedException_1_3, NotYetImplementedException_1_4,
> etc.
>
> I agree that some exception should be thrown. But it might suffice
> to just throw java.lang.UnsupportedOperationException. Not that I
> would oppose a special NotYetImplementedException. Living in a
> neutral country, I don't have an explicit opinion about such
> matters. :-)
I'm for UnsupportedOperationException too because it exists already
and dont have to invent something new.
A reason against using it is that some methods return UOE by design in
some situations. That means that i may not be clear in any case if
the method throwns an exception because its unimplementd or because
of other reasons.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/dGGqWSOgCCdjSDsRAvuNAKCMksQtOJr8Ga6eNjFeJiVYotBPygCfZgey
l0YjZDXcnpIWl1fgrdSJlwY=
=WQ/V
-----END PGP SIGNATURE-----
- Re: NYIException, (continued)
- Re: NYIException, Sascha Brawer, 2003/09/25
- Re: NYIException, Michael Koch, 2003/09/25
- Re: NYIException, Arnaud Vandyck, 2003/09/25
- Re: NYIException, Ingo Prötel, 2003/09/25
- Re: NYIException, Etienne Gagnon, 2003/09/25
- Re: NYIException, Brian Jones, 2003/09/25
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Sascha Brawer, 2003/09/26
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Sascha Brawer, 2003/09/26
- Re: NYIException,
Michael Koch <=
- Re: NYIException, Andy Walter, 2003/09/26
- Re: NYIException, Ricky Clarkson, 2003/09/29
RE: NYIException, Regier Avery J, 2003/09/26
Re: NYIException, Dalibor Topic, 2003/09/27
RE: NYIException, Jeroen Frijters, 2003/09/27