IncorrectStateException

Exception thrown when TokenizerState was called in an incorrect state or for an unsupported character.

Inherits: TokenizerException

Description

The IncorrectStateException class defines an exception thrown when TokenizerState was called in an incorrect state or for an unsupported character.

Constructors

Defines a new instance of this class.

public IncorrectStateException(IContext context = null, string code = null, string message = null, Exception innerException = null)

  • context: IContext - (optional) a context to trace execution through a call chain.
  • code: string - code.
  • message: string - human-readable message.
  • line: number - line number.
  • column: number - column number.
  • innerException: Exception - inner exception.