Pass rawValue and expectedFormat arguments to ParseExceptions

See bug 62824.