com.aspose.pdf.exceptions

Class PdfArgumentException

  • All Implemented Interfaces:
    Serializable


    public class PdfArgumentException
    extends com.aspose.ms.System.ArgumentException

    Represents errors that occur when incorrect parameters appeared.

    See Also:
    Serialized Form
    • Constructor Detail

      • PdfArgumentException

        public PdfArgumentException()

        Initializes a new instance of the PdfArgumentException class.

      • PdfArgumentException

        public PdfArgumentException(String message)

        Initializes a new instance of the PdfArgumentException class.

        Parameters:
        message - The message.
      • PdfArgumentException

        public PdfArgumentException(String message,
                                    Throwable innerException)

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

        Parameters:
        message - The error message that explains the reason for the exception.
        innerException - The exception that is the cause of the current exception, or a null reference
      • PdfArgumentException

        public PdfArgumentException(String message,
                                    String paramName)

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

        Parameters:
        message - The error message that explains the reason for the exception.
        paramName - The incorrect paramName.