Class MaterialArgument.MaterialParseException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    MaterialArgument<C>

    public static final class MaterialArgument.MaterialParseException
    extends cloud.commandframework.exceptions.parsing.ParserException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MaterialParseException​(@NonNull java.lang.String input, @NonNull cloud.commandframework.context.CommandContext<?> context)
      Construct a new MaterialParseException
    • Method Summary

      Modifier and Type Method Description
      @NonNull java.lang.String getInput()
      Get the 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

      • MaterialParseException

        public MaterialParseException​(@NonNull java.lang.String input,
                                      @NonNull cloud.commandframework.context.CommandContext<?> context)
        Construct a new MaterialParseException
        Parameters:
        input - Input
        context - Command context
    • Method Detail

      • getInput

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