Class AsposeArgumentOutOfRangeException

AsposeArgumentOutOfRangeException class

The exception that is thrown when an argument is outside the range of allowed values.

public class AsposeArgumentOutOfRangeException : AsposeException

Constructors

NameDescription
AsposeArgumentOutOfRangeException()Initializes a new instance of the AsposeArgumentOutOfRangeException class.
AsposeArgumentOutOfRangeException(Exception)Initializes a new instance of the AsposeArgumentOutOfRangeException class with a reference to the exception that caused it.
AsposeArgumentOutOfRangeException(string)Initializes a new instance of the AsposeArgumentOutOfRangeException class with the specified error message.
AsposeArgumentOutOfRangeException(string, Exception)Initializes a new instance of the AsposeArgumentOutOfRangeException class with the specified error message and a reference to the exception that caused it.
AsposeArgumentOutOfRangeException(string, int)Initializes a new instance of the AsposeArgumentOutOfRangeException class with an error message built from a format string with one argument.
AsposeArgumentOutOfRangeException(string, params object[])Initializes a new instance of the AsposeArgumentOutOfRangeException class with an error message built from a composite format string.
AsposeArgumentOutOfRangeException(string, string)Initializes a new instance of the AsposeArgumentOutOfRangeException class with an error message built from a format string with one argument.

Properties

NameDescription
ErrorDetails { get; }Gets additional information about the error, if the operation provides any.
override Message { get; }Gets the message that describes the error.
virtual ParamName { get; }Gets the name of the parameter that caused the error.

Methods

NameDescription
override ToString()Returns the type, the message and the stack trace of the exception.

See Also