// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Data.Core.Parsers; namespace Avalonia.Data.Core { /// /// Exception thrown when could not parse the provided /// expression string. /// public class ExpressionParseException : Exception { /// /// Initializes a new instance of the class. /// /// The column position of the error. /// The exception message. public ExpressionParseException(int column, string message) : base(message) { Column = column; } /// /// Gets the column position at which the error occurred. /// public int Column { get; } } }