Browse Source

Remove inheritance

pull/1181/head
James Jackson-South 6 years ago
parent
commit
ff28048fa3
  1. 2
      src/ImageSharp/Common/Exceptions/ImageProcessingException.cs
  2. 2
      src/ImageSharp/Processing/Processors/Transforms/DegenerateTransformException.cs

2
src/ImageSharp/Common/Exceptions/ImageProcessingException.cs

@ -8,7 +8,7 @@ namespace SixLabors.ImageSharp
/// <summary>
/// The exception that is thrown when an error occurs when applying a process to an image.
/// </summary>
public class ImageProcessingException : Exception
public sealed class ImageProcessingException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ImageProcessingException"/> class.

2
src/ImageSharp/Processing/Processors/Transforms/DegenerateTransformException.cs

@ -8,7 +8,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
/// <summary>
/// Represents an error that occurs during a transform operation.
/// </summary>
public sealed class DegenerateTransformException : ImageProcessingException
public sealed class DegenerateTransformException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="DegenerateTransformException"/> class.

Loading…
Cancel
Save