// -------------------------------------------------------------------------------------------------------------------- // // Copyright (c) James South. // Licensed under the Apache License, Version 2.0. // // // The exception that is thrown when processing an image has failed. // // -------------------------------------------------------------------------------------------------------------------- namespace ImageProcessor.Common.Exceptions { using System; /// /// The exception that is thrown when processing an image has failed. /// public sealed class ImageProcessingException : Exception { /// /// Initializes a new instance of the class. /// /// The message that describes the error. public ImageProcessingException(string message) : base(message) { } /// /// Initializes a new instance of the class. /// /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. public ImageProcessingException(string message, Exception innerException) : base(message, innerException) { } } }