Class InvalidParserResponse

java.lang.Object
net.apartium.cocoabeans.commands.exception.BadCommandResponse
net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse
Direct Known Subclasses:
AmbiguousMappedKeyResponse, InvalidUUIDResponse, NoSuchElementInMapResponse

@AvailableSince("0.0.30") public class InvalidParserResponse extends BadCommandResponse
Represents a response that is reported via a parser
See Also:
  • Constructor Details

    • InvalidParserResponse

      public InvalidParserResponse(CommandProcessingContext context, ArgumentParser<?> parser, String message)
      Construct a new instance of invalid parser response
      Parameters:
      context - context of the command processing
      parser - parser that reported the error
      message - error message
  • Method Details