Skip to content

Commit 79f5ff5

Browse files
SimonCroppantonfirsov
authored andcommitted
remove some redundant constructor overloads from exceptions (#979)
* remove some redundant constructor overloads from exceptions * re add ImageProcessingException ctor only used in release
1 parent e809d51 commit 79f5ff5

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) Six Labors and contributors.
22
// Licensed under the Apache License, Version 2.0.
33

4-
using System;
5-
64
namespace SixLabors.ImageSharp
75
{
86
/// <summary>
@@ -20,17 +18,5 @@ public UnknownImageFormatException(string errorMessage)
2018
: base(errorMessage)
2119
{
2220
}
23-
24-
/// <summary>
25-
/// Initializes a new instance of the <see cref="UnknownImageFormatException"/> class with a specified
26-
/// error message and the exception that is the cause of this exception.
27-
/// </summary>
28-
/// <param name="errorMessage">The error message that explains the reason for this exception.</param>
29-
/// <param name="innerException">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic)
30-
/// if no inner exception is specified.</param>
31-
public UnknownImageFormatException(string errorMessage, Exception innerException)
32-
: base(errorMessage, innerException)
33-
{
34-
}
3521
}
3622
}

0 commit comments

Comments
 (0)