Class IronPdfNativeException
Represents errors that occur in IronPDF native code
Inheritance
System.Object
IronPdfNativeException
Namespace: IronPdf.Exceptions
Assembly: IronPdf.dll
Syntax
public class IronPdfNativeException : Exception
Constructors
IronPdfNativeException()
Initializes a new instance of the IronPdfNativeException class.
Declaration
public IronPdfNativeException()
IronPdfNativeException(String)
Initializes a new instance of the IronPdfNativeException class with a specified error message.
Declaration
public IronPdfNativeException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
IronPdfNativeException(String, Exception)
Initializes a new instance of the IronPdfNativeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IronPdfNativeException(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. |