Search Results for

    Show / Hide Table of Contents

    Class IronPdfProductException

    Represents errors that occur during IronPDF execution.

    Inheritance
    System.Object
    IronPdfProductException
    Namespace: IronPdf.Exceptions
    Assembly: IronPdf.dll
    Syntax
    public class IronPdfProductException : Exception

    The IronPdfProductException class represents errors that occur during IronPDF execution.

    Part of the IronPdf.Exceptions namespace and inheriting from Exception, it surfaces when the corresponding call cannot complete, typically from bad input, an unsupported configuration, or an error in the native library.

    Inspect the Message and InnerException properties to diagnose what went wrong.

    For common platform-specific causes, consult the IronPDF troubleshooting guides.

    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.

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