| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // System.IO.IOException.cs
- //
- // Author:
- // Paolo Molaro ([email protected])
- //
- // (C) 2001 Ximian, Inc. http://www.ximian.com
- //
- using System.Runtime.Serialization;
- namespace System.IO {
- [Serializable]
- public class IOException : SystemException {
- // Constructors
- public IOException ()
- : base ("I/O Error")
- {
- }
- public IOException (string message)
- : base (message)
- {
- }
- public IOException (string message, Exception inner)
- : base (message, inner)
- {
- }
- public IOException (SerializationInfo info, StreamingContext context)
- : base (info, context)
- {
- }
- public IOException (string message, int hresult)
- : base (message)
- {
- this.HResult = hresult;
- }
- }
- }
|