| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // System.IO.EndOfStreamException.cs
- //
- // Author:
- // Duncan Mak ([email protected])
- //
- // 2002 (C) Ximian, Inc. http://www.ximian.com
- //
- using System;
- using System.Globalization;
- using System.IO;
- using System.Runtime.Serialization;
- namespace System.IO
- {
- [Serializable]
- public class EndOfStreamException : IOException
- {
- // Constructors
- public EndOfStreamException ()
- : base (Locale.GetText ("Failed to read past end of stream."))
- {
- }
- public EndOfStreamException (string message)
- : base (message)
- {
- }
-
- protected EndOfStreamException (SerializationInfo info,
- StreamingContext context)
- : base (info, context)
- {
- }
- public EndOfStreamException (string message, Exception innerException)
- :base (message, innerException)
- {
- }
-
- }
- }
|