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> /// <summary>
/// The exception that is thrown when an error occurs when applying a process to an image. /// The exception that is thrown when an error occurs when applying a process to an image.
/// </summary> /// </summary>
public class ImageProcessingException : Exception public sealed class ImageProcessingException : Exception
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="ImageProcessingException"/> class. /// 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> /// <summary>
/// Represents an error that occurs during a transform operation. /// Represents an error that occurs during a transform operation.
/// </summary> /// </summary>
public sealed class DegenerateTransformException : ImageProcessingException public sealed class DegenerateTransformException : Exception
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="DegenerateTransformException"/> class. /// Initializes a new instance of the <see cref="DegenerateTransformException"/> class.

Loading…
Cancel
Save