PdnException.cs 656 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace PaintDotNet
  4. {
  5. /// <summary>
  6. /// This is the base exception for all exceptions.
  7. /// </summary>
  8. public class PdnException
  9. : ApplicationException
  10. {
  11. public PdnException()
  12. {
  13. }
  14. public PdnException(string message)
  15. : base(message)
  16. {
  17. }
  18. public PdnException(string message, Exception innerException)
  19. : base(message, innerException)
  20. {
  21. }
  22. protected PdnException(SerializationInfo info, StreamingContext context)
  23. : base(info, context)
  24. {
  25. }
  26. }
  27. }