2 // System.Data.NoNullAllowedException.cs
4 // Author: Duncan Mak (duncan@ximian.com)
9 using System.Globalization;
10 using System.Runtime.Serialization;
12 namespace System.Data {
15 public class NoNullAllowedException : DataException
17 public NoNullAllowedException ()
18 : base (Locale.GetText ("Cannot insert a NULL value"))
22 public NoNullAllowedException (string message)
27 protected NoNullAllowedException (SerializationInfo info, StreamingContext context)
28 : base (info, context)