New to Telerik Document ProcessingStart a free 30-day trial

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

Definition

Constructors

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

C#
public ExpressionException(string message, Exception innerException, string key, string[] formatStringArguments = null)
Parameters:messagestring

The message.

innerExceptionException

The inner exception.

keystring

The key.

formatStringArgumentsstring[]

The format string arguments.

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

C#
public ExpressionException(string message, Exception innerException)
Parameters:messagestring

The message.

innerExceptionException

The inner exception.

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

C#
public ExpressionException(string message, string key, string[] formatStringArguments = null)
Parameters:messagestring

The message.

keystring

The key.

formatStringArgumentsstring[]

The format string arguments.

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

C#
public ExpressionException(string message)
Parameters:messagestring

The message.