Table of Contents

Class MissingComponentException

Namespace
Frent
Assembly
Frent.dll

An exception that is thrown when an entity is missing a required component during an update.

public class MissingComponentException : Exception, ISerializable
Inheritance
MissingComponentException
Implements
Inherited Members

Constructors

MissingComponentException(Type, Type, Entity)

An exception that is thrown when an entity is missing a required component during an update.

public MissingComponentException(Type componentType, Type expectedType, Entity invalidEntity)

Parameters

componentType Type
expectedType Type
invalidEntity Entity

Properties

ComponentType

The dependent component type that caused the exception.

public Type ComponentType { get; }

Property Value

Type

InvalidEntity

The entity on which ComponentType exists but MissingComponent is missing.

public Entity InvalidEntity { get; }

Property Value

Entity

MissingComponent

The component dependency that is missing.

public Type MissingComponent { get; }

Property Value

Type