AntORMException.cs 689 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Ant.Exceptions
  6. {
  7. [Serializable]
  8. public class AntORMException : Exception
  9. {
  10. public AntORMException()
  11. : this("An exception occurred in the persistence layer.")
  12. {
  13. }
  14. public AntORMException(string message)
  15. : base(message)
  16. {
  17. }
  18. public AntORMException(Exception innerException)
  19. : base(innerException.Message, innerException)
  20. {
  21. }
  22. public AntORMException(string message, Exception innerException)
  23. : base(message, innerException)
  24. {
  25. }
  26. }
  27. }