The exception message shows that the problem will be related to your format string, in particular around a separate part of the quotation marks.
Looking at the documentation , we can see that:
('), . "'" " .
, , ( ) ,
new SimpleDateFormat("MMM d''yy")
.