Hello,
I think I should be getting an exception here but i'm not. I have:
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy", user.getLocale());
When I try to parse an *invalid* date I expected an exception to be thrown:
sdf.parse("99/99/9999");
I am NOT getting an exception and
Java returns a java.util.Date object with the toString value:
Thu Jun 07 00:00:00 CDT 10007
Shouldn't the parse() method have thrown an exception? How do I get it to?