Class CannotLoadMapFileException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CannotLoadMapFileException
    extends java.io.IOException
    Exception thrown if a map file cannot be loaded.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CannotLoadMapFileException​(@NotNull java.lang.String mapPath, @NotNull java.lang.Throwable cause)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getMapPath()
      Returns the map path that could not be loaded.
      • 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 Detail

      • CannotLoadMapFileException

        public CannotLoadMapFileException​(@NotNull
                                          @NotNull java.lang.String mapPath,
                                          @NotNull
                                          @NotNull java.lang.Throwable cause)
        Creates a new instance.
        Parameters:
        mapPath - the map path that could not be loaded
        cause - the cause why the map file could not be loaded
    • Method Detail

      • getMapPath

        @NotNull
        public @NotNull java.lang.String getMapPath()
        Returns the map path that could not be loaded.
        Returns:
        the map path