diff options
Diffstat (limited to 'mcs/class/System/System.IO/ErrorEventArgs.cs')
-rw-r--r-- | mcs/class/System/System.IO/ErrorEventArgs.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/mcs/class/System/System.IO/ErrorEventArgs.cs b/mcs/class/System/System.IO/ErrorEventArgs.cs new file mode 100644 index 00000000000..49bc2c08677 --- /dev/null +++ b/mcs/class/System/System.IO/ErrorEventArgs.cs @@ -0,0 +1,39 @@ +//
+// System.IO.ErrorEventArgs.cs
+//
+// Author:
+// Tim Coleman (tim@timcoleman.com)
+//
+// Copyright (C) Tim Coleman, 2002
+//
+
+using System;
+
+namespace System.IO {
+ public class ErrorEventArgs : EventArgs {
+
+ #region Fields
+
+ Exception exception;
+
+ #endregion // Fields
+
+ #region Constructors
+
+ public ErrorEventArgs (Exception exception)
+ {
+ this.exception = exception;
+ }
+
+ #endregion // Constructors
+
+ #region Methods
+
+ public virtual Exception GetException ()
+ {
+ return exception;
+ }
+
+ #endregion // Methods
+ }
+}
|