Gorgon
Show / Hide Table of Contents

Class ArgumentEmptyException

An exception that should be thrown when a non-null parameter (e.g. string) requires a value, and does not.

Inheritance
object
Exception
SystemException
ArgumentException
ArgumentEmptyException
Implements
_Exception
ISerializable
Inherited Members
ArgumentException.GetObjectData(SerializationInfo, StreamingContext)
ArgumentException.Message
ArgumentException.ParamName
Exception.GetBaseException()
Exception.ToString()
Exception.GetType()
Exception.Data
Exception.InnerException
Exception.TargetSite
Exception.StackTrace
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: Gorgon.Core
Assembly: Gorgon.Core.dll
Syntax
[Serializable]
public class ArgumentEmptyException : ArgumentException, _Exception, ISerializable

Constructors

| Edit this page View Source

ArgumentEmptyException(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.

| Edit this page View Source

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.

| Edit this page View Source

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.

Implements

_Exception
ISerializable

Extension Methods

GorgonExceptionExtensions.Catch<T>(T, Action<T>, IGorgonLog)
GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonExceptionExtensions.Repackage(Exception, GorgonResult)
GorgonExceptionExtensions.Repackage(Exception, GorgonResult, string)
GorgonExceptionExtensions.Repackage(Exception, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author