Class SelectorParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SelectorParseException
    extends cloud.commandframework.exceptions.parsing.ParserException
    EntitySelector parse exception
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectorParseException​(@NonNull java.lang.String input, @NonNull cloud.commandframework.context.CommandContext<?> context, @NonNull SelectorParseException.FailureReason reason, @NonNull java.lang.Class<?> parser)
      Construct a new EntitySelector parse exception
    • Method Summary

      Modifier and Type Method Description
      @NonNull SelectorParseException.FailureReason getFailureReason()
      Get the reason of failure for the selector parser
      @NonNull java.lang.String getInput()
      Get the supplied input
      • Methods inherited from class cloud.commandframework.exceptions.parsing.ParserException

        getArgumentParserClass, getContext, getMessage
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SelectorParseException

        public SelectorParseException​(@NonNull java.lang.String input,
                                      @NonNull cloud.commandframework.context.CommandContext<?> context,
                                      @NonNull SelectorParseException.FailureReason reason,
                                      @NonNull java.lang.Class<?> parser)
        Construct a new EntitySelector parse exception
        Parameters:
        input - String input
        context - Command context
        reason - Reason for parse failure
        parser - The parser class
    • Method Detail

      • getInput

        public @NonNull java.lang.String getInput()
        Get the supplied input
        Returns:
        String value