Package com.c1games.terminal.algo.map
Class CannotSpawnException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.c1games.terminal.algo.map.CannotSpawnException
- All Implemented Interfaces:
java.io.Serializable
public class CannotSpawnException
extends java.lang.RuntimeException
Exception thrown when a move builder is used to attempt to spawn a unit, which cannot be spawned.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description CanSpawn
reasonCannotSpawn
-
Constructor Summary
Constructors Constructor Description CannotSpawnException(CanSpawn reasonCannotSpawn)
-
Method Summary
Modifier and Type Method Description java.lang.String
toString()
-
Field Details
-
Constructor Details
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Throwable
-