Files
WPinternals/WinUSBNet/USBException.cs
T
Gustave Monce c5fcb1ec8d Implement Qualcomm Sahara VIP and fix a few bugs
* Qualcomm Sahara VIP
* Project Cleanup
* Allow unlocking an already unlocked phone
2021-08-11 14:33:49 +02:00

43 lines
1.3 KiB
C#

/* 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()
{
}
}
}