Class PlayerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ua.mcchickenstudio.opencreative.coding.exceptions.PlayerException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TooManyOpenedMenusException

public abstract class PlayerException extends RuntimeException

PlayerException

This class represents a player exception, that has nickname of player, who involved in exception. Used to replace nickname placeholder.
See Also:
  • Constructor Details

    • PlayerException

      public PlayerException(@NotNull @NotNull String playerName, @NotNull @NotNull String message)
  • Method Details

    • getPlayerName

      @NotNull public @NotNull String getPlayerName()