mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-14 03:16:40 +10:00
c5fcb1ec8d
* Qualcomm Sahara VIP * Project Cleanup * Allow unlocking an already unlocked phone
43 lines
1.3 KiB
C#
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()
|
|
{
|
|
}
|
|
}
|
|
}
|