New to Telerik UI for WPFStart a free 30-day trial

Represents an error that occurs during parsing of an expression.

Definition

Namespace:Telerik.Expressions

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
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

Initializes a new instance of the ExpressionParserException class.

C#
public ExpressionParserException()

Initializes a new instance of the ExpressionParserException class.

C#
public ExpressionParserException(IEnumerable<ExpressionParserError> errors)
Parameters:errorsIEnumerable<ExpressionParserError>

Initializes a new instance of the ExpressionParserException class.

C#
protected ExpressionParserException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

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

contextStreamingContext

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

Initializes a new instance of the ExpressionParserException class.

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

The exception message.

innerExceptionException

The inner exception.

Initializes a new instance of the ExpressionParserException class.

C#
public ExpressionParserException(string message)
Parameters:messagestring

The exception message.

Properties

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

C#
public IEnumerable<ExpressionParserError> Errors { get; }

Methods

C#
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfocontextStreamingContext

Overrides: Exception.GetObjectData(SerializationInfo, StreamingContext)