If an error condition is detected, a exit code value of 255 will be returned.
The response to a particular packet is variable in size and may indicate an error condition.
Furthermore, the infection process may cause an error condition that causes the computer to crash.
A final case could check for this error condition and print an appropriate error message instead.
Exceptions provide a clean way to deal with error conditions without complicating the code.
The programmer could then correct one or more error conditions later and recompile the program.
The point of exception handling routines is to ensure that the code can handle error conditions.
At one point in the history of robotics, robots had been designed to shut down when they detected any internal error conditions.
For example, most modern hard drives have commands that provide information about some permanent error conditions.
If the variable has a value of -1, it indicates an error condition.