posted 22 years ago
Thanks for your comments.
A couple of my comments:
1) This code is actually refactored from an existing codebase.
So as I went about refactoring it to suit my needs, I had
to come up with that nasty, throw new exception()
to control the flow. According to the signature of the method;
all exceptions need to be masked out as an IllegalArgumentException. So I'd prefer not to introduce another exception class into the mix.
2) (To: Mike Curwen) In the context of the method,
length==explicitLength is ok and is processed later on after this try-catch scope.
Pho
[This message has been edited by Pho Tek (edited August 16, 2001).]