mirror of
https://github.com/soukoku/ntwain.git
synced 2025-09-19 01:57:56 +08:00
More cleanup for v1.
This commit is contained in:
@@ -16,6 +16,16 @@ namespace NTwain
|
||||
/// </summary>
|
||||
public TwainException() { }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TwainException"/> class.
|
||||
/// </summary>
|
||||
/// <param name="message">The message that describes the error.</param>
|
||||
public TwainException(string message)
|
||||
: base(message)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TwainException" /> class.
|
||||
/// </summary>
|
||||
@@ -24,6 +34,17 @@ namespace NTwain
|
||||
public TwainException(ReturnCode returnCode, string message)
|
||||
: this(returnCode, message, null) { }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TwainException"/> class.
|
||||
/// </summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception.</param>
|
||||
/// <param name="innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
|
||||
public TwainException(string message, Exception innerException)
|
||||
: base(message, innerException)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TwainException" /> class.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user