Class PlayerNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.plex.command.exception.PlayerNotFoundException
- All Implemented Interfaces:
Serializable
Signals that a command could not find the requested player.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with the default player-not-found marker message.PlayerNotFoundException(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
-
PlayerNotFoundException
public PlayerNotFoundException()Creates an exception with the default player-not-found marker message. -
PlayerNotFoundException
Creates an exception with a custom user-facing message.- Parameters:
message- failure message
-