mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-04 05:26:55 +00:00
26 lines
571 B
Java
26 lines
571 B
Java
package dev.plex.command.exception;
|
|
|
|
/**
|
|
* Signals that a command could not find the requested player.
|
|
*/
|
|
public class PlayerNotFoundException extends RuntimeException
|
|
{
|
|
/**
|
|
* Creates an exception with the default player-not-found marker message.
|
|
*/
|
|
public PlayerNotFoundException()
|
|
{
|
|
super("PlayerNotFoundException");
|
|
}
|
|
|
|
/**
|
|
* Creates an exception with a custom user-facing message.
|
|
*
|
|
* @param message failure message
|
|
*/
|
|
public PlayerNotFoundException(String message)
|
|
{
|
|
super(message);
|
|
}
|
|
}
|