Class NoInputProvidedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoInputProvidedException
    extends ParserException
    An exception which is thrown when an argument's input is unexpectedly null or empty
    Since:
    1.1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoInputProvidedException​(java.lang.Class<?> argumentParser, @NonNull CommandContext<?> context)
      Construct a new NoInputProvidedException
    • Method Summary

      • 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

      • NoInputProvidedException

        public NoInputProvidedException​(java.lang.Class<?> argumentParser,
                                        @NonNull CommandContext<?> context)
        Construct a new NoInputProvidedException
        Parameters:
        argumentParser - Argument parser class
        context - Command context