Class ConsoleMustDefinePlayerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.plex.command.exception.ConsoleMustDefinePlayerException
- All Implemented Interfaces:
Serializable
Signals that the console must supply a target player for a command.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with the default console target marker message.ConsoleMustDefinePlayerException(String message) Creates an exception with a custom user-facing message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConsoleMustDefinePlayerException
public ConsoleMustDefinePlayerException()Creates an exception with the default console target marker message. -
ConsoleMustDefinePlayerException
Creates an exception with a custom user-facing message.- Parameters:
message- failure message
-