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

37 lines
1.2 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
2008-11-17 18:29:00 -05:00
//============================================================
//
// Class: EndOfStreamException
//
// Purpose: Exception to be thrown when reading past end-of-file.
//
//===========================================================
2008-03-05 09:52:00 -05:00
using System;
2008-11-17 18:29:00 -05:00
namespace System.IO
{
2008-03-05 09:52:00 -05:00
//| <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) {
}
}
}