//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Interop { using System; using System.Runtime.Serialization; /// /// Exception thrown when a column conversion fails. /// [Serializable] public class EsentInvalidColumnException : EsentException { /// /// Initializes a new instance of the EsentInvalidColumnException class. /// public EsentInvalidColumnException() { } #if MANAGEDESENT_ON_CORECLR #else /// /// Initializes a new instance of the EsentInvalidColumnException class. This constructor /// is used to deserialize a serialized exception. /// /// The data needed to deserialize the object. /// The deserialization context. protected EsentInvalidColumnException(SerializationInfo info, StreamingContext context) : base(info, context) { } #endif /// /// Gets a text message describing the exception. /// public override string Message { get { return "Column is not valid for this operation"; } } } }