Constructor ArgumentStringEmptyException
ArgumentStringEmptyException()
Initialises a new ArgumentStringEmptyException instance with the default error message.
Declaration
public ArgumentStringEmptyException()
ArgumentStringEmptyException(Exception)
Initialises a new ArgumentStringEmptyException instance with the default error message
and a reference to the inner exception that is the cause of this exception.
Declaration
public ArgumentStringEmptyException(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
Exception | innerException | The exception that is the cause of the current exception. |
ArgumentStringEmptyException(String)
Initialises a new ArgumentStringEmptyException instance with the default error message
and the name of the parameter that causes this exception.
Declaration
public ArgumentStringEmptyException(string paramName)
Parameters
Type | Name | Description |
---|---|---|
String | paramName | The name of the parameter that caused the current exception. |
ArgumentStringEmptyException(String, Exception)
Initialises a new ArgumentStringEmptyException instance with the default error message,
the parameter name and a reference to the inner exception that is the cause of this exception.
Declaration
public ArgumentStringEmptyException(string paramName, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | paramName | The name of the parameter that caused the current exception. |
Exception | innerException | The exception that is the cause of the current exception. |
ArgumentStringEmptyException(String, String)
Initialises a new ArgumentStringEmptyException instance with a specified error message
and the name of the parameter that causes this exception.
Declaration
public ArgumentStringEmptyException(string paramName, string message)
Parameters
Type | Name | Description |
---|---|---|
String | paramName | The name of the parameter that caused the current exception. |
String | message | The error message that explains the reason for the exception. |
ArgumentStringEmptyException(String, String, Exception)
Initialises a new ArgumentStringEmptyException instance with a specified error message,
the parameter name and a reference to the inner exception that is the cause of this exception.
Declaration
public ArgumentStringEmptyException(string paramName, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | paramName | The name of the parameter that caused the current exception. |
String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception. |