Show / Hide Table of Contents

Class ItemNotDefinedException<TBlueprintID>

Exception thrown by AdvancedFactory<TBlueprintID, TBlueprintConfig, TProduced> or Factory<TBlueprintID, TProduced> objects when a blueprint that doesn't exist is used.

Inheritance
object
Exception
ItemNotDefinedException<TBlueprintID>
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.Factories
Assembly: GoRogue.dll
Syntax
public class ItemNotDefinedException<TBlueprintID> : Exception, ISerializable
Type Parameters
Name Description
TBlueprintID

Constructors

View Source

ItemNotDefinedException()

Creates an exception with default message.

Declaration
public ItemNotDefinedException()
View Source

ItemNotDefinedException(string, Exception)

Creates an exception with the specified inner exception and message.

Declaration
public ItemNotDefinedException(string message, Exception innerException)
Parameters
Type Name Description
string message

Exception message

Exception innerException

Exception that caused this exception

View Source

ItemNotDefinedException(TBlueprintID)

Creates an exception with a message based on the specified factory ID.

Declaration
public ItemNotDefinedException(TBlueprintID factoryId)
Parameters
Type Name Description
TBlueprintID factoryId

Factory id that caused the error.

Implements

ISerializable

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX