Class MapLevelEntityNameStackingException

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

public class MapLevelEntityNameStackingException
extends MapLevelException
An exception throw when 2 entities with the same name are in the same MapLevel
See Also:
MapLevelException, Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    MapLevelEntityNameStackingException​(MapLevel mapLevel, Entity entity1, Entity entity2)
    Constructor
    MapLevelEntityNameStackingException​(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

    • MapLevelEntityNameStackingException

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

      public MapLevelEntityNameStackingException​(MapLevel mapLevel, Entity entity1, Entity entity2)
      Constructor
      Parameters:
      mapLevel - a mapLevel
      entity1 - an entity
      entity2 - an entity