More cleanup for v1.

This commit is contained in:
soukoku
2014-04-22 06:50:58 -04:00
parent 31f77edb40
commit 108fde6fe7
24 changed files with 272 additions and 158 deletions

View File

@@ -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>