Class ImageLoadException
Represents an exception that is thrown when an error occurs during the loading of an image.
Inheritance
System.Object
ImageLoadException
Namespace: IronWord.Models.Exceptions
Assembly: IronWord.dll
Syntax
public class ImageLoadException : Exception
Remarks
This exception is typically used to encapsulate and provide more context to exceptions that may occur while loading image files.
Constructors
ImageLoadException(String, Exception)
Initializes a new instance of the ImageLoadException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ImageLoadException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The error message that explains the reason for the exception. |
| System.Exception | innerException | The exception that is the cause of the current exception. |