Search Results for

    Show / Hide Table of Contents

    Class IronBarCodePdfPasswordException

    Represents errors that occur during PDF processing in IronBarCode due to incorrect or missing password.

    Inheritance
    System.Object
    IronBarCodePdfPasswordException
    Namespace: IronBarCode.Exceptions
    Assembly: IronBarCode.dll
    Syntax
    public class IronBarCodePdfPasswordException : Exception

    IronBarCodePdfPasswordException is thrown when IronBarcode opens a password-protected PDF and the supplied password is wrong or missing. It surfaces while reading barcodes from a secured document or writing a barcode into one. Provide the correct owner or user password for the file and run the operation again. The exception derives directly from Exception rather than the IronBarcode base type, so catch it on its own when a protected PDF needs a clearer prompt or a retry path.

    Constructors

    IronBarCodePdfPasswordException()

    Initializes a new instance of the IronBarCodePdfPasswordException class.

    Declaration
    public IronBarCodePdfPasswordException()

    IronBarCodePdfPasswordException(String)

    Initializes a new instance of the IronBarCodePdfPasswordException class with a specified error message.

    Declaration
    public IronBarCodePdfPasswordException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    IronBarCodePdfPasswordException(String, Exception)

    Initializes a new instance of the IronBarCodePdfPasswordException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public IronBarCodePdfPasswordException(string message, Exception inner)
    Parameters
    Type Name Description
    System.String message

    The error message that explains the reason for the exception.

    System.Exception inner

    The exception that is the cause of the current exception, or a null reference (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