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()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait