Class InvalidKeyException
Thrown when an invalid key is used to create a CatalogItem, one of its Property or a Tag.
Inherited Members
Namespace: UnityEngine.GameFoundation.Exceptions
Syntax
public class InvalidKeyException : GameFoundationException, ISerializable, _Exception
Constructors
InvalidKeyException(String, String)
Declaration
public InvalidKeyException(string key, string objectTypeName)
Parameters
Type | Name | Description |
---|---|---|
String | key | The invalid key used to create a Game Foundation object. |
String | objectTypeName | The name of the object's type that was supposed to be created with the invalid key. |
InvalidKeyException(String, Type)
Declaration
public InvalidKeyException(string key, Type objectType)
Parameters
Type | Name | Description |
---|---|---|
String | key | The invalid key used to create a Game Foundation object. |
Type | objectType | The type of the object that was supposed to be created with the invalid key. |
Properties
invalidKey
The invalid key used to create a Game Foundation object.
Declaration
public string invalidKey { get; }
Property Value
Type | Description |
---|---|
String |
typeName
The name of the object's type that was supposed to be created with the invalid key.
Declaration
public string typeName { get; }
Property Value
Type | Description |
---|---|
String |