Class AsposeArgumentException

AsposeArgumentException class

The exception that is thrown when an argument passed 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 exception that caused it.
AsposeArgumentException(string)Initializes a new instance of the AsposeArgumentException class with the specified error message.
AsposeArgumentException(string, Exception)Initializes a new instance of the AsposeArgumentException class with the specified error message and a reference to the exception that caused it.
AsposeArgumentException(string, params object[])Initializes a new instance of the AsposeArgumentException class with an error message built from a composite format string.
AsposeArgumentException(string, string)Initializes a new instance of the AsposeArgumentException 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.

Methods

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

See Also