singrdk/base/Libraries/System.IO/EndOfStreamException.cs

39 lines
1.3 KiB
C#

// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: EndOfStreamException
**
**
** Purpose: Exception to be thrown when reading past end-of-file.
**
** Date: February 18, 2000
**
===========================================================*/
using System;
namespace System.IO {
//| <include file='doc\EndOfStreamException.uex' path='docs/doc[@for="EndOfStreamException"]/*' />
public class EndOfStreamException : IOException
{
//| <include file='doc\EndOfStreamException.uex' path='docs/doc[@for="EndOfStreamException.EndOfStreamException"]/*' />
public EndOfStreamException()
: base("Arg_EndOfStreamException") {
}
//| <include file='doc\EndOfStreamException.uex' path='docs/doc[@for="EndOfStreamException.EndOfStreamException1"]/*' />
public EndOfStreamException(String message)
: base(message) {
}
//| <include file='doc\EndOfStreamException.uex' path='docs/doc[@for="EndOfStreamException.EndOfStreamException2"]/*' />
public EndOfStreamException(String message, Exception innerException)
: base(message, innerException) {
}
}
}