Class AsposeArgumentException

AsposeArgumentException class

The exception that is thrown when one of the arguments provided to a method is not valid.

public class AsposeArgumentException : AsposeException

Constructors

NameDescription
AsposeArgumentException()Initializes a new instance of the AsposeArgumentException class.
AsposeArgumentException(Exception)Initializes a new instance of the AsposeArgumentException class with a reference to the inner exception that is the cause of this exception.
AsposeArgumentException(string)Initializes a new instance of the AsposeArgumentException class with a specified error message.
AsposeArgumentException(string, Exception)Initializes a new instance of the AsposeArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
AsposeArgumentException(string, params object[])Initializes a new instance of the AsposeArgumentException class with a specified error message.
AsposeArgumentException(string, string)Initializes a new instance of the AsposeArgumentException class with a specified error message.

Properties

NameDescription
ErrorDetails { get; }Gets extra information aboout error
override Message { get; }Gets a message that describes the current exception.

Methods

NameDescription
override ToString()Returns a string that represents the current object.

See Also