Class
ExpressionException

Exception thrown when an error occurs during formula parsing, evaluation, or manipulation, with support for localized error messages.

Definition

Constructors

ExpressionException(string)

Initializes a new instance of the ExpressionException class with the specified error message.

Declaration

cs-api-definition
public ExpressionException(string message)

Parameters

message

string

The message.

ExpressionException(string, Exception)

Initializes a new instance of the ExpressionException class with an inner exception for chaining.

Declaration

cs-api-definition
public ExpressionException(string message, Exception innerException)

Parameters

message

string

The message.

innerException

Exception

The inner exception.

ExpressionException(string, Exception, string, string[])

Initializes a new instance of the ExpressionException class with both an inner exception and localization support.

Declaration

cs-api-definition
public ExpressionException(string message, Exception innerException, string key, string[] formatStringArguments = null)

Parameters

message

string

The message.

innerException

Exception

The inner exception.

key

string

The key.

formatStringArguments

string[]

The format string arguments.

ExpressionException(string, string, string[])

Initializes a new instance of the ExpressionException class with localization support via a resource key.

Declaration

cs-api-definition
public ExpressionException(string message, string key, string[] formatStringArguments = null)

Parameters

message

string

The message.

key

string

The key.

formatStringArguments

string[]

The format string arguments.