public class AsposeArgumentOutOfRangeException extends AsposeException
The exception that is thrown when one of the arguments provided to a method is out of range.
<filterpriority>1</filterpriority>
Constructor and Description |
---|
AsposeArgumentOutOfRangeException()
Initializes a new instance of the
AsposeArgumentOutOfRangeException class. |
AsposeArgumentOutOfRangeException(com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
AsposeArgumentOutOfRangeException class
with a reference to the inner exception that is the cause of this exception. |
AsposeArgumentOutOfRangeException(String message)
Initializes a new instance of the
AsposeArgumentOutOfRangeException class with a specified error message. |
AsposeArgumentOutOfRangeException(String message,
com.aspose.ms.System.Exception innerException)
Initializes a new instance of the
AsposeArgumentOutOfRangeException class
with a specified error message and a reference to the inner exception that is the cause of this exception. |
AsposeArgumentOutOfRangeException(String format,
int parameter) |
AsposeArgumentOutOfRangeException(String format,
Object... parameters)
Initializes a new instance of the
AsposeArgumentOutOfRangeException class with a specified error message. |
AsposeArgumentOutOfRangeException(String message,
String paramName) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets a message that describes the current exception.
|
String |
getParamName()
Parameter name
|
getErrorDetails, toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AsposeArgumentOutOfRangeException()
Initializes a new instance of the AsposeArgumentOutOfRangeException
class.
public AsposeArgumentOutOfRangeException(String message)
Initializes a new instance of the AsposeArgumentOutOfRangeException
class with a specified error message.
message
- The message that describes the error.public AsposeArgumentOutOfRangeException(String format, Object... parameters)
Initializes a new instance of the AsposeArgumentOutOfRangeException
class with a specified error message.
format
- Message formatparameters
- Format parameterspublic AsposeArgumentOutOfRangeException(String format, int parameter)
public AsposeArgumentOutOfRangeException(String message, com.aspose.ms.System.Exception innerException)
Initializes a new instance of the AsposeArgumentOutOfRangeException
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 reference (Nothing in Visual Basic) if no inner exception is specified.public AsposeArgumentOutOfRangeException(String message, String paramName)
message
- paramName
- public AsposeArgumentOutOfRangeException(com.aspose.ms.System.Exception innerException)
Initializes a new instance of the AsposeArgumentOutOfRangeException
class
with a reference to the inner exception that is the cause of this exception.
innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.public String getMessage()
Gets a message that describes the current exception.
getMessage
in class AsposeException
public String getParamName()
Parameter name