public class PdfArgumentException
extends com.aspose.ms.System.ArgumentException
Represents errors that occur when incorrect parameters appeared.
Constructor and Description |
---|
PdfArgumentException()
Initializes a new instance of the
PdfArgumentException class. |
PdfArgumentException(String message)
Initializes a new instance of the
PdfArgumentException class. |
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(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. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public PdfArgumentException()
Initializes a new instance of the PdfArgumentException
class.
public PdfArgumentException(String message)
Initializes a new instance of the PdfArgumentException
class.
message
- The message.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.
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 referencepublic 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.
message
- The error message that explains the reason for the exception.paramName
- The incorrect paramName.