Bug ID: JDK-4106143 About polymorphism: changing the return type...
The following discussion gives two examplesWe would get a simpler interface and better error messages when the method throws a ParseException. Actually, the parseObject method has no way to produce better error messages than "Parse failed". Maybe I misunderstand the problem.