DungeonGenerationException
Class in ChivalrousGames.DungeonMaster / Inherits from: Exception
Description
This exception reports an error related to dungeon generation.
Properties
Context | UnityEngine.Object | ReadOnly The context object. Generally the Unity Object that raised the exception. |
Constructors
Constructor
public DungeonGenerationException();
DungeonGenerationException | A new instance of DungeonGenerationException |
Description
Default constructor. Other constructors should be used since they provide useful data.
Constructor
public DungeonGenerationException(string message, UnityEngine.Object context);
Parameters
message | string | The error message |
context | UnityEngine.Object | The context object. Generally the Unity Object that raised the exception. |
Return
DungeonGenerationException | A new instance of DungeonGenerationException |
Description
A constructor with a message and a context object
Constructor
public DungeonGenerationException(string message, Exception inner);
Parameters
message | string | The error message |
inner | Exception | The exception that caused this DungeonGenerationException. |
Return
DungeonGenerationException | A new instance of DungeonGenerationException |
Description
A constructor with a message and an inner exception
Constructor
public DungeonGenerationException(string message, UnityEngine.Object context, Exception inner);
Parameters
message | string | The error message |
context | UnityEngine.Object | The context object. Generally the Unity Object that raised the exception. |
inner | Exception | The exception that caused this DungeonGenerationException. |
Return
DungeonGenerationException | A new instance of DungeonGenerationException |
Description
A constructor with a message, a context object and an inner exception