Class MapLevelCoordinatesOutOfBoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
fr.r1r0r0.deltaengine.exceptions.maplevel.MapLevelException
fr.r1r0r0.deltaengine.exceptions.maplevel.MapLevelCoordinatesOutOfBoundException
All Implemented Interfaces:
java.io.Serializable

public class MapLevelCoordinatesOutOfBoundException
extends MapLevelException
An exception throw when a Cell is add in a MapLevel, but the Coordinates of the cell are out of bound of the area defined by the MapLevel
See Also:
MapLevelException, Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    MapLevelCoordinatesOutOfBoundException​(MapLevel mapLevel, Cell cell)
    Constructor
    MapLevelCoordinatesOutOfBoundException​(java.lang.String msg)
    Constructor
  • Method Summary

    Methods inherited from class java.lang.Throwable

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MapLevelCoordinatesOutOfBoundException

      public MapLevelCoordinatesOutOfBoundException​(java.lang.String msg)
      Constructor
      Parameters:
      msg - the message show in the exception
    • MapLevelCoordinatesOutOfBoundException

      public MapLevelCoordinatesOutOfBoundException​(MapLevel mapLevel, Cell cell)
      Constructor
      Parameters:
      mapLevel - a mapLevel
      cell - a cell