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

Name Description
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

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

Methods

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

See Also