Class InvalidUUIDResponse
java.lang.Object
net.apartium.cocoabeans.commands.exception.BadCommandResponse
net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse
net.apartium.cocoabeans.commands.parsers.exception.InvalidUUIDResponse
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.apartium.cocoabeans.commands.parsers.exception.InvalidParserResponse
InvalidParserResponse.InvalidParserException -
Field Summary
Fields inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse
args, commandName, depth, message -
Constructor Summary
ConstructorsConstructorDescriptionInvalidUUIDResponse(CommandProcessingContext context, ArgumentParser<?> parser, String message, String userInput) Construct a new instance of invalid parser response -
Method Summary
Modifier and TypeMethodDescriptiongetError()Construct a new instance of the exception to be thrownGet the user inputMethods 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
-
InvalidUUIDResponse
public InvalidUUIDResponse(CommandProcessingContext context, ArgumentParser<?> parser, String message, String userInput) Construct a new instance of invalid parser response- Parameters:
context- context of the command processingparser- parser that reported the errormessage- error messageuserInput- user input
-
-
Method Details
-
getUserInput
Get the user input- Returns:
- user input
-
getError
Construct a new instance of the exception to be thrown- Overrides:
getErrorin classInvalidParserResponse- Returns:
- exception to be thrown
-