INVALID_FORMAT error class

SQLSTATE: 42601

The format is invalid: <format>.

CONT_THOUSANDS_SEPS

Thousands separators (, or G) must have digits in between them in the number format.

CUR_MUST_BEFORE_DEC

Currency characters must appear before any decimal point in the number format.

CUR_MUST_BEFORE_DIGIT

Currency characters must appear before digits in the number format.

EMPTY

The number format string cannot be empty.

ESC_AT_THE_END

The escape character is not allowed to end with.

ESC_IN_THE_MIDDLE

The escape character is not allowed to precede <char>.

MISMATCH_INPUT

The input <inputType> <input> does not match the format.

THOUSANDS_SEPS_MUST_BEFORE_DEC

Thousands separators (, or G) may not appear after the decimal point in the number format.

UNEXPECTED_TOKEN

Found the unexpected <token> in the format string; the structure of the format string must match: [MI|S] [$] [0|9|G|,]* [.|D] [0|9]* [$] [PR|MI|S].

WRONG_NUM_DIGIT

The format string requires at least one number digit.

WRONG_NUM_TOKEN

At most one <token> is allowed in the number format.