Class UnmetRequirementResponse
java.lang.Object
net.apartium.cocoabeans.commands.exception.BadCommandResponse
net.apartium.cocoabeans.commands.requirements.UnmetRequirementResponse
-
Field Summary
FieldsFields inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse
args, commandName, depth, message -
Constructor Summary
ConstructorsConstructorDescriptionUnmetRequirementResponse(Requirement requirement, String commandName, String[] args, int depth, String message, @Nullable Annotation requirementAnnotation) UnmetRequirementResponse(Requirement requirement, RequirementEvaluationContext context, String message, @Nullable Annotation requirementAnnotation) -
Method Summary
Methods inherited from class net.apartium.cocoabeans.commands.exception.BadCommandResponse
getArgs, getCommandName, getDepth, getMessage, throwError
-
Field Details
-
requirement
-
requirementAnnotation
-
-
Constructor Details
-
UnmetRequirementResponse
public UnmetRequirementResponse(Requirement requirement, String commandName, String[] args, int depth, String message, @Nullable @Nullable Annotation requirementAnnotation) -
UnmetRequirementResponse
public UnmetRequirementResponse(Requirement requirement, RequirementEvaluationContext context, String message, @Nullable @Nullable Annotation requirementAnnotation)
-
-
Method Details
-
getRequirement
-
getError
- Overrides:
getErrorin classBadCommandResponse
-