From 8f708d9159a6780c93cac3908942354bf90db1ad Mon Sep 17 00:00:00 2001 From: Tim Coleman Date: Sat, 17 Aug 2002 06:28:37 +0000 Subject: 2002-08-15 Tim Coleman * 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 --- mcs/class/System/System.IO/ErrorEventArgs.cs | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mcs/class/System/System.IO/ErrorEventArgs.cs (limited to 'mcs/class/System/System.IO/ErrorEventArgs.cs') 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 + } +} -- cgit v1.2.3