Merge pull request #1322 from StephenMcConnel/bug23532
[mono.git] / mcs / class / System.Data.Entity / Error.cs
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
10                 public static Exception ArgumentOutOfRange (string paramName)
11                 {
12                         return new ArgumentOutOfRangeException (paramName);
13                 }
14
15                 public static Exception NotImplemented ()
16                 {
17                         return new NotImplementedException ();
18                 }
19
20                 public static Exception NotSupported ()
21                 {
22                         return new NotSupportedException ();
23                 }
24         }
25 }