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
Constructor | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The error message that explains the reason for the exception. |
innerException | java.lang.Throwable | The 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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The error message that explains the reason for the exception. |
paramName | java.lang.String | The incorrect paramName. |