Added a missing line to enable Locale.GetText.
[mono.git] / mcs / class / System.Data / System.Data.SqlTypes / SqlNullValueException.cs
1 //
2 // System.Data.SqlNullValueException.cs
3 //
4 // Author: Duncan Mak  (duncan@ximian.com)
5 //
6 // (C) Ximian, Inc.
7
8 using System;
9 using System.Globalization;
10 using System.Runtime.Serialization;
11
12 namespace System.Data.SqlTypes {
13
14         [Serializable]
15         public class SqlNullValueException : SqlTypeException
16         {
17                 public SqlNullValueException ()
18                         : base (Locale.GetText ("The value property is null"))
19                 {
20                 }
21
22                 public SqlNullValueException (string message)
23                         : base (message)
24                 {
25                 }
26         }
27 }