Error.cs 487 B

12345678910111213141516171819202122232425
  1. namespace System.Data.Entity
  2. {
  3. static class Error
  4. {
  5. public static Exception ArgumentNull (string paramName)
  6. {
  7. return new ArgumentNullException (paramName);
  8. }
  9. public static Exception ArgumentOutOfRange (string paramName)
  10. {
  11. return new ArgumentOutOfRangeException (paramName);
  12. }
  13. public static Exception NotImplemented ()
  14. {
  15. return new NotImplementedException ();
  16. }
  17. public static Exception NotSupported ()
  18. {
  19. return new NotSupportedException ();
  20. }
  21. }
  22. }