Logging Exceptions

Exceptions can be optionally logged to the application log file by setting its loggable flag using the setLoggable method.

Loggable exceptions are written to the application log file by the RIL. The exception message is read from the error message catalog file, the exception arguments, if any, are inserted into the text and this parsed text is written to the log file.

An exception is treated as loggable if its loggable flag is set or if the loggable flag is set on any attached exceptions.

If the exception being logged has any other exceptions attached, then these exceptions are also logged.