Override UnexpectedCharacterException constructor

Override the constructor to accept the unexpected character
and optionally the expected character types.