2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//============================================================
|
|
|
|
//
|
|
|
|
// Class: IOException
|
|
|
|
//
|
|
|
|
// Purpose: Exception for a generic IO error.
|
|
|
|
//
|
|
|
|
//===========================================================
|
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\IOException.uex' path='docs/doc[@for="IOException"]/*' />
|
|
|
|
public class IOException : SystemException
|
|
|
|
{
|
|
|
|
//| <include file='doc\IOException.uex' path='docs/doc[@for="IOException.IOException"]/*' />
|
|
|
|
public IOException()
|
|
|
|
: base("Arg_IOException") {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include file='doc\IOException.uex' path='docs/doc[@for="IOException.IOException1"]/*' />
|
|
|
|
public IOException(String message)
|
|
|
|
: base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include file='doc\IOException.uex' path='docs/doc[@for="IOException.IOException2"]/*' />
|
|
|
|
public IOException(String message, int hresult)
|
|
|
|
: base(message) {
|
|
|
|
}
|
|
|
|
|
|
|
|
//| <include file='doc\IOException.uex' path='docs/doc[@for="IOException.IOException3"]/*' />
|
|
|
|
public IOException(String message, Exception innerException)
|
|
|
|
: base(message, innerException) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|