ObjectNotReservedException.cs 910 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace Wayne.Lib
  3. {
  4. /// <summary>
  5. /// The ObjectNotReservedException is thrown when trying to access an object in a way that
  6. /// requires reservation, or if a Reserved interface is used after it has been unreserved.
  7. /// </summary>
  8. public class ObjectNotReservedException : Exception
  9. {
  10. #region Construction
  11. /// <summary>
  12. /// Initializes a new instance of the class.
  13. /// </summary>
  14. public ObjectNotReservedException() { }
  15. /// <summary>
  16. /// Initializes a new instance of the class.
  17. /// </summary>
  18. public ObjectNotReservedException(string message) : base(message) { }
  19. /// <summary>
  20. /// Initializes a new instance of the class.
  21. /// </summary>
  22. public ObjectNotReservedException(string message, Exception inner) : base(message, inner) { }
  23. #endregion
  24. }
  25. }