Class ArgumentEmptyException
An exception that should be thrown when a non-null parameter (e.g. string) requires a value, and does not.
Inherited Members
Namespace: Gorgon.Core
Assembly: Gorgon.Core.dll
Syntax
[Serializable]
public class ArgumentEmptyException : ArgumentException, _Exception, ISerializable
Constructors
| Edit this page View SourceArgumentEmptyException(SerializationInfo, StreamingContext)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
protected ArgumentEmptyException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
ArgumentEmptyException(string)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException(string parameterName)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter that caused the exception. |
ArgumentEmptyException(string, Exception)
Initializes a new instance of the ArgumentEmptyException class.
Declaration
public ArgumentEmptyException(string parameterName, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | parameterName | The name of the parameter that caused the exception. |
Exception | innerException | The inner exception for this exception. |