Search Results for

    Show / Hide Table of Contents

    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

    IronPdfNativeException surfaces failures that originate in IronPDF's native rendering layer rather than in managed C# code. When this exception is thrown, inspect its Message and InnerException to identify the low-level operation that failed, then verify the input PDF content, system dependencies, and available memory. It derives directly from Exception. See IronPDF troubleshooting for common native-layer issues.

    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.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget