Search Results for

    Show / Hide Table of Contents

    Namespace IronPdf.Exceptions

    Classes

    IronPdfAssemblyVersionMismatchException

    Represents errors that occur while loading assemblies during IronPdf deployment.

    IronPdfNativeException

    Represents errors that occur in IronPDF native code

    IronPdfProductException

    Represents errors that occur during IronPDF execution.

    IronPdfUnsupportedException

    Thrown when attempting to use features not supported in the current environment or configuration. Common causes include platform limitations, missing dependencies, or deprecated functionality.

    try {
        // Attempt operation that may not be supported:
        pdf.SignWithTimestamp(signature, timestampServer);
    }
    catch (IronPdfUnsupportedException ex) {
        // Handle unsupported feature gracefully:
        Console.WriteLine($"Feature not available: {ex.Message}");
        // Fall back to alternative:
        pdf.Sign(signature);  // Sign without timestamp
    }
    
    // Check platform before attempting:
    if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) {
        // Some features may not be available on Linux
        Console.WriteLine("Limited features on Linux");
    }

    Check documentation for platform-specific limitations

    Consider fallback options for unsupported features

    See: https://ironpdf.com/troubleshooting/unsupported-features/

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