Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Coleman <tim@mono-cvs.ximian.com>2002-08-17 10:28:37 +0400
committerTim Coleman <tim@mono-cvs.ximian.com>2002-08-17 10:28:37 +0400
commit8f708d9159a6780c93cac3908942354bf90db1ad (patch)
tree81ec6a691821e21d85f11313ef13ce2c5295c276 /mcs/class/System/System.IO/ErrorEventArgs.cs
parent1f4262335405121ff3751d30d79bb956313918e2 (diff)
2002-08-15 Tim Coleman <tim@timcoleman.com>
* ErrorEventArgs.cs: * ErrorEventHandler.cs: * FileSystemEventArgs.cs: * FileSystemEventHandler.cs: * FileSystemWatcher.cs: * InternalBufferOverflowException.cs: * IODescriptionAttribute.cs: * NotifyFilters.cs: * RenamedEventArgs.cs: * RenamedEventHandler.cs: * WaitForChangedResult.cs: * WatcherChangeTypes.cs: New stubs added. svn path=/trunk/mcs/; revision=6698
Diffstat (limited to 'mcs/class/System/System.IO/ErrorEventArgs.cs')
-rw-r--r--mcs/class/System/System.IO/ErrorEventArgs.cs39
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
+ }
+}