PdfArgumentException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.SystemException, com.aspose.ms.System.ArgumentException

public class PdfArgumentException extends System.ArgumentException

Represents errors that occur when incorrect parameters appeared.

Constructors

ConstructorDescription
PdfArgumentException()Initializes a new instance of the PdfArgumentException class.
PdfArgumentException(String message)Initializes a new instance of the PdfArgumentException class.
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.
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.

PdfArgumentException()

public PdfArgumentException()

Initializes a new instance of the PdfArgumentException class.

PdfArgumentException(String message)

public PdfArgumentException(String message)

Initializes a new instance of the PdfArgumentException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

PdfArgumentException(String message, Throwable innerException)

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:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.
innerExceptionjava.lang.ThrowableThe exception that is the cause of the current exception, or a null reference

PdfArgumentException(String message, String paramName)

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:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.
paramNamejava.lang.StringThe incorrect paramName.