Class CannotSaveMapFileException

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      CannotSaveMapFileException​(@NotNull java.io.File mapFile, @NotNull java.lang.Throwable cause)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.io.File getMapFile()
      Returns the map file that could not be saved.
      • 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

      • CannotSaveMapFileException

        public CannotSaveMapFileException​(@NotNull
                                          @NotNull java.io.File mapFile,
                                          @NotNull
                                          @NotNull java.lang.Throwable cause)
        Creates a new instance.
        Parameters:
        mapFile - the map file that could not be saved
        cause - the cause why the map file could not be saved
    • Method Detail

      • getMapFile

        @NotNull
        public @NotNull java.io.File getMapFile()
        Returns the map file that could not be saved.
        Returns:
        the map file