blob: 88f8460d87aa41bdc6ce86bf6e9d998eba543236 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//
// System.IO.EndOfStreamException.cs
//
// Author:
// Duncan Mak (duncan@ximian.com)
//
// 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)
{
}
}
}
|