Package za.co.wethinkcode.robots.errors
package za.co.wethinkcode.robots.errors
This package contains custom errors designed for implementation in the Robot World
-
Exception ClassesClassDescriptionAll Exceptions related to the client connecting to the server (especially with regards to the
ConnectedClientare handled by this classErrors related to the state of the client's persistent memory.Throw this exception if arguments are incorrectly formattedThis message is thrown when aWorldObjectto be found but for whatever reason, is not.This exception is thrown when a robot that was once active has been purged by the server administratorThis exception encapsulates the behaviour of aRobotwho cannot act, typically due to a mismatchedStatussuch asStatus.DEADThrown whenever the client receives some information from the server that does not comply with the Robot World SpecificationThis error is thrown when there is an issue initialising the server for whatever reason.Internal Error for Unsupported Robot World CommandThis exception is raised when a robot tries to use the wrong kind of weapon.