INVALID_DATETIME_PATTERN error class

SQLSTATE: 22007

Unrecognized datetime pattern: <pattern>.

ILLEGAL_CHARACTER

Illegal pattern character found in datetime pattern: <c>. Please provide legal character.

LENGTH

Too many letters in datetime pattern: <pattern>. Please reduce pattern length.

SECONDS_FRACTION

Cannot detect a seconds fraction pattern of variable length. Please make sure the pattern contains 'S', and does not contain illegal characters.