Class ArgumentEmptyException
The exception that is thrown when an empty System.String is passed to a method that does not accept it as a valid argument.
Inheritance
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class ArgumentEmptyException : ArgumentException
Constructors
| Improve this DocArgumentEmptyException()
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException()
ArgumentEmptyException(String)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException(string paramName)
Parameters
Type | Name | Description |
---|---|---|
System.String | paramName | The name of the parameter that caused the exception. |
ArgumentEmptyException(String, Exception)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
ArgumentEmptyException(String, String)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException(string paramName, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | paramName | The name of the parameter that caused the exception. |
System.String | message | The message that describes the error. |