Exception Handling and Logging

Informational messages, warnings, and errors are logged at strategic points during processing. Because the e-ADK functions have a boolean return value, errors must be reported by throwing an exception. Exceptions are thrown at critical points during processing, such as failure to get from a transport and failure to put to a transport, and are caught in the Adapter Shell.

e-ADK supports the following error handling:

It also handles the following common OT errors: