When an Activity begins processing its return code is set to 'OK' to indicate a normal completion. If your Activity Processor encounters an exception it should set the return code accordingly by calling one of the following methods in the ancestor class: