Package edu.uoc.pacman.model.exceptions
Class LevelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.uoc.pacman.model.exceptions.LevelException
- All Implemented Interfaces:
Serializable
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.
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Error message when there isn't any ghoststatic final String
Error message when there is an error while parsing/loading the level configuration file.static final String
Error message when there are not any dot or energizer.static final String
Error message when the size of the board does not meet the minimum -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
PARSING_LEVEL_FILE_ERROR
Error message when there is an error while parsing/loading the level configuration file.- See Also:
-
PICKABLE_ERROR
Error message when there are not any dot or energizer.- See Also:
-
SIZE_ERROR
Error message when the size of the board does not meet the minimum- See Also:
-
GHOSTS_ERROR
Error message when there isn't any ghost- See Also:
-
-
Constructor Details
-
LevelException
Constructor with argument.- Parameters:
message
- Text that is displayed when the exception is thrown.
-