Class NoSuchWorldResponse
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 ClassesModifier and TypeClassDescriptionclassThrown 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.NoSuchElementInMapExceptionNested 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
ConstructorsConstructorDescriptionNoSuchWorldResponse(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
Methods inherited from class net.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse
getAttemptedMethods inherited from class net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse
getParserMethods inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse
getArgs, getCommandName, getDepth, getMessage, throwError
-
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 processingparser- parser that reported the errormessage- error messageattempted- attempted key
-
-
Method Details
-
getError
- Overrides:
getErrorin classnet.apartium.cocoabeans.commands.parsers.exception.NoSuchElementInMapResponse
-