Class
ExpressionParserException

Represents an error that occurs during parsing of an expression.

Definition

Namespace:Telerik.Expressions

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class ExpressionParserException : Exception, ISerializable

Inheritance: objectExceptionExpressionParserException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

ExpressionParserException()

Initializes a new instance of the ExpressionParserException class.

Declaration

cs-api-definition
public ExpressionParserException()

ExpressionParserException(IEnumerable<ExpressionParserError>)

Initializes a new instance of the ExpressionParserException class.

Declaration

cs-api-definition
public ExpressionParserException(IEnumerable<ExpressionParserError> errors)

Parameters

errors

IEnumerable<ExpressionParserError>

ExpressionParserException(SerializationInfo, StreamingContext)

Initializes a new instance of the ExpressionParserException class.

Declaration

cs-api-definition
protected ExpressionParserException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

context

StreamingContext

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

ExpressionParserException(string)

Initializes a new instance of the ExpressionParserException class.

Declaration

cs-api-definition
public ExpressionParserException(string message)

Parameters

message

string

The exception message.

ExpressionParserException(string, Exception)

Initializes a new instance of the ExpressionParserException class.

Declaration

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

Parameters

message

string

The exception message.

innerException

Exception

The inner exception.

Properties

Errors

Gets the errors that occurred while attempting to parse an expression.

Declaration

cs-api-definition
public IEnumerable<ExpressionParserError> Errors { get; }

Property Value

IEnumerable<ExpressionParserError>

Methods

GetObjectData(SerializationInfo, StreamingContext)

Declaration

cs-api-definition
public override void GetObjectData(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

context

StreamingContext

Overrides Exception.GetObjectData(SerializationInfo, StreamingContext)