On 10.05.2011 16:53, Robert Jacques wrote: > Well, you are supposed to use validate first on any untrusted input. Now the > fact that validate returns void and throws an exception and there is no > corresponding 'isValid' routine probably is bad design.
Not to mention that validating first and then running again through the same procedure, thus double-checking input, is a waste of time... ;) /Alexander