Show / Hide Table of Contents

Class NullItemException

Exception that is thrown when an element in a collection is unexpectedly equal to null.

Inheritance
object
Exception
OffendingException<IList>
NullItemException
Implements
ISerializable
Inherited Members
OffendingException<IList>.OffendingObject
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class NullItemException : OffendingException<IList>, ISerializable

Constructors

| Edit this page View Source

NullItemException()

Initializes a new instance of the NullItemException class.

Declaration
public NullItemException()
| Edit this page View Source

NullItemException(IList)

Initializes a new instance of the NullItemException class.

Declaration
public NullItemException(IList offendingCollection)
Parameters
Type Name Description
IList offendingCollection

Collection in which a null element has been found.

| Edit this page View Source

NullItemException(Exception)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(Exception inner)
Parameters
Type Name Description
Exception inner

Exception that is the cause of this exception.

| Edit this page View Source

NullItemException(Exception, IList)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(Exception inner, IList offendingCollection)
Parameters
Type Name Description
Exception inner

Exception that is the cause of this exception.

IList offendingCollection

Collection in which a null element has been found.

| Edit this page View Source

NullItemException(string)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(string message)
Parameters
Type Name Description
string message

Message that describes the exception.

| Edit this page View Source

NullItemException(string, IList)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(string message, IList offendingCollection)
Parameters
Type Name Description
string message

Message that describes the exception.

IList offendingCollection

Collection in which a null element has been found.

| Edit this page View Source

NullItemException(string, Exception)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(string message, Exception inner)
Parameters
Type Name Description
string message

Message that describes the exception.

Exception inner

Exception that is the cause of this exception.

| Edit this page View Source

NullItemException(string, Exception, IList)

Initializes a new instance of the NullItemException.

Declaration
public NullItemException(string message, Exception inner, IList offendingCollection)
Parameters
Type Name Description
string message

Message that describes the exception.

Exception inner

Exception that is the cause of this exception.

IList offendingCollection

Collection in which a null element has been found.

Properties

| Edit this page View Source

NullIndex

Gets the index at which an element was unexpectedly null inside of the collection.

Declaration
public int NullIndex { get; set; }
Property Value
Type Description
int

Implements

ISerializable

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX