/* WinUSBNet library * (C) 2010 Thomas Bleeker (www.madwizard.org) * * Licensed under the MIT license, see license.txt or: * http://www.opensource.org/licenses/mit-license.php */ using System; namespace MadWizard.WinUSBNet { /// /// Exception used by WinUSBNet to indicate errors. This is the /// main exception to catch when using the library. /// public class USBException : Exception { /// /// Constructs a new USBException with the given message /// /// The message describing the exception public USBException(string message) : base(message) { } /// /// Constructs a new USBException with the given message and underlying exception /// that caused the USBException. /// /// The message describing the exception /// The underlying exception causing the USBException public USBException(string message, Exception innerException) : base(message, innerException) { } } }