Class LevelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.uoc.pacman.model.exceptions.LevelException
All Implemented Interfaces:
Serializable

public class LevelException extends Exception
Level Exception class.
In order to know the text of each message, please click on the "Constant Field Values" link that you'll find in the description of each constant.
See Also:
  • Field Details

    • PARSING_LEVEL_FILE_ERROR

      public static final String PARSING_LEVEL_FILE_ERROR
      Error message when there is an error while parsing/loading the level configuration file.
      See Also:
    • PICKABLE_ERROR

      public static final String PICKABLE_ERROR
      Error message when there are not any dot or energizer.
      See Also:
    • SIZE_ERROR

      public static final String SIZE_ERROR
      Error message when the size of the board does not meet the minimum
      See Also:
    • GHOSTS_ERROR

      public static final String GHOSTS_ERROR
      Error message when there isn't any ghost
      See Also:
  • Constructor Details

    • LevelException

      public LevelException(String message)
      Constructor with argument.
      Parameters:
      message - Text that is displayed when the exception is thrown.