Package event
Class GameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
event.GameException
- All Implemented Interfaces:
Serializable
Class extends
Exception. Operates as a common type for game related exceptions.- Author:
- Krish Pillai
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for this exceptionGameException(String message) Constructor that takes a retrievable message -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GameException
public GameException()Constructor for this exception -
GameException
Constructor that takes a retrievable message- Parameters:
message- The string description
-