java.lang.Object
net.apartium.cocoabeans.commands.exception.BadCommandResponse
net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse
net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse
net.apartium.cocoabeans.commands.spigot.parsers.exception.NoSuchWorldResponse

@AvailableSince("0.0.49") public class NoSuchWorldResponse extends net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse
Represents a response reported via a parser when a world is not found
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    Thrown to indicate that a specific world could not be found during the parsing process.

    Nested classes/interfaces inherited from class net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse

    net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse.NoSuchElementInMapException

    Nested classes/interfaces inherited from class net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse

    net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse.InvalidParserException
  • Field Summary

    Fields inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse

    args, commandName, depth, message
  • Constructor Summary

    Constructors
    Constructor
    Description
    NoSuchWorldResponse(net.apartium.cocoabeans.commands.CommandProcessingContext context, net.apartium.cocoabeans.commands.parsers.ContextualMapBasedParser<?> parser, String message, String attempted)
    Construct a new instance of invalid parser response
  • Method Summary

    Modifier and Type
    Method
    Description

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse

    getAttempted

    Methods inherited from class net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse

    getParser

    Methods inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse

    getArgs, getCommandName, getDepth, getMessage, throwError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoSuchWorldResponse

      public NoSuchWorldResponse(net.apartium.cocoabeans.commands.CommandProcessingContext context, net.apartium.cocoabeans.commands.parsers.ContextualMapBasedParser<?> parser, String message, String attempted)
      Construct a new instance of invalid parser response
      Parameters:
      context - context of the command processing
      parser - parser that reported the error
      message - error message
      attempted - attempted key
  • Method Details