using System;
namespace Wayne.Lib
{
    /// <summary>
    /// The ObjectNotReservedException is thrown when trying to access an object in a way that
    /// requires reservation, or if a Reserved interface is used after it has been unreserved.
    /// </summary>
    public class ObjectNotReservedException : Exception
    {
        #region Construction

        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        public ObjectNotReservedException() { }

        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        public ObjectNotReservedException(string message) : base(message) { }

        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        public ObjectNotReservedException(string message, Exception inner) : base(message, inner) { }

        #endregion
    }
}