2 // System.IO.EndOfStreamException.cs
5 // Duncan Mak (duncan@ximian.com)
7 // 2002 (C) Ximian, Inc. http://www.ximian.com
11 using System.Globalization;
13 using System.Runtime.Serialization;
18 public class EndOfStreamException : IOException
21 public EndOfStreamException ()
22 : base (Locale.GetText ("Failed to read past end of stream."))
26 public EndOfStreamException (string message)
31 protected EndOfStreamException (SerializationInfo info,
32 StreamingContext context)
33 : base (info, context)
37 public EndOfStreamException (string message, Exception innerException)
38 :base (message, innerException)