Uses of Class
za.co.wethinkcode.robots.errors.PurgedRobotException
Packages that use PurgedRobotException
Package
Description
Behaviour related to the behaviour and interactions with the robot-world api
This module stores all commands executed in the Robot World Game
-
Uses of PurgedRobotException in za.co.wethinkcode.robots.api
Methods in za.co.wethinkcode.robots.api with parameters of type PurgedRobotExceptionModifier and TypeMethodDescriptionstatic com.google.gson.JsonObjectServerAPI.error(PurgedRobotException e) Overload to send back a specific error message for the customUnsupportedRobotWorldCommandexception -
Uses of PurgedRobotException in za.co.wethinkcode.robots.server.commands
Methods in za.co.wethinkcode.robots.server.commands that throw PurgedRobotExceptionModifier and TypeMethodDescriptionstatic voidStateful.purgeCheck(World world, String robotName) default StatusVerify if a command is able to be executed given the current state of the robot.static StatusStateful.verifyInternal(World world, com.google.gson.JsonObject obj) static StatusStateful.verifyInternal(World world, String robotName) Static internal method that allows this to be called statically if needed