Alex Blewitt wrote:
> On 07/02/07, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>> 2007/2/7, Alex Blewitt <[EMAIL PROTECTED]>:
>> > On 06/02/07, Tim Ellison <[EMAIL PROTECTED]> wrote:
>> > > The pack200 code does have to be internationalized -- why would
>> there be
>> > > an exception for that module?
>> >
>> > Mostly because it's a work-in-progress, and at present when I detect
>> > an error condition (or part of the parsing tree that I can't handle) I
>> > throw new Error("Not yet implemented"). In other words, it's a marker
>> > to let me know I need to go back there and fix it.
>> It is better to mark such methods by adding NotImplementedException to
>> throws clause. japitools will catch such methods.

Marking the methods will only be of interest to JAPI if they are JSE API
methods.  That may be worthwhile to indicate they are under development.
 There is no point in labelling the implementation methods.

> It's not methods that are unimplemented; it's certain blocks of code
> paths.

You can still throw an exception though?

> Anyway, they won't be there for long :-)

Send more code<g>

Regards,
Tim

Reply via email to