// 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;
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.
/// The exception that caused the parsing failure.
public ExpressionParseException(int column, string message, Exception innerException = null)
: base(message, innerException)
{
Column = column;
}
///
/// Gets the column position at which the error occurred.
///
public int Column { get; }
}
}