Class IronPdfProductException
Represents errors that occur during IronPDF execution.
Namespace: IronPdf.Exceptions
Assembly: IronPdf.dll
Syntax
public class IronPdfProductException : Exception
Constructors
IronPdfProductException()
Initializes a new instance of the IronPdfProductException class.
Declaration
public IronPdfProductException()
IronPdfProductException(String)
Initializes a new instance of the IronPdfProductException class with a specified error message.
Declaration
public IronPdfProductException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
IronPdfProductException(String, Exception)
Initializes a new instance of the IronPdfProductException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IronPdfProductException(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, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |