Class PlayerParser.PlayerParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.incendo.cloud.exception.parsing.ParserException
com.xpdustry.distributor.api.command.cloud.parser.PlayerParser.PlayerParseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PlayerParser.PlayerParseException.PlayerNotFound, PlayerParser.PlayerParseException.TooManyPlayers
Enclosing class:
PlayerParser<C>

public static sealed class PlayerParser.PlayerParseException extends org.incendo.cloud.exception.parsing.ParserException permits PlayerParser.PlayerParseException.TooManyPlayers, PlayerParser.PlayerParseException.PlayerNotFound
An exception thrown when a parsing error occurs while searching for a player.
See Also:
  • Constructor Details

    • PlayerParseException

      public PlayerParseException(org.incendo.cloud.context.CommandContext<?> ctx, String input, org.incendo.cloud.caption.Caption caption)
      Parameters:
      ctx - the command context
      input - the input string
      caption - the error caption of this exception
  • Method Details

    • getInput

      public final String getInput()
      Returns the input string.