To invoke the error handler from the message handler (in the case of an error in the format of the message or other map-related exception condition), throw an exception with an appropriate error message, or return the string "FAILURE" from the map method.
To invoke the error handler from the data handler (when parsing a message), throw an exception with an appropriate error message.