mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-16 04:10:11 +10:00
Project: Move WPinternals code to a WPinternals folder
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
/* 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
|
||||
{
|
||||
/// <summary>
|
||||
/// Exception used by WinUSBNet to indicate errors. This is the
|
||||
/// main exception to catch when using the library.
|
||||
/// </summary>
|
||||
public class USBException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a new USBException with the given message
|
||||
/// </summary>
|
||||
/// <param name="message">The message describing the exception</param>
|
||||
public USBException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new USBException with the given message and underlying exception
|
||||
/// that caused the USBException.
|
||||
/// </summary>
|
||||
/// <param name="message">The message describing the exception</param>
|
||||
/// <param name="innerException">The underlying exception causing the USBException</param>
|
||||
public USBException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
public USBException() : base()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user