SyntaxException

Exception that can be thrown by ExpressionParser.

Inherits: BadRequestException

Description

The SyntaxException class defines the exceptions that can be thrown by the ExpressionParser class.

Constructors

Creates a new instance of the SyntaxException class.

public SyntaxException(IContext context = null, string code = null, string message = null, int line = 0, int column = 0, Exception innerException = null)

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