# Interface CrashReport

All Known Implementing Classes:
  `DefaultCrashReporter`

public interface CrashReport

Invoked to indicate that an exception occurred, it is up to the developer to decide whether to send the device log to the server by invoking Log.sendLog(). Notice that sending a log only works for paid accounts. This interface should be registered with the Display class.

Notice that exceptions will only be reported for threads created by Codename One using the API's within the Display class, this will not work for exceptions within threads that are created by the new Thread() API.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `exception(Throwable t)`
  Callback for an exception that was not handled by the developer

- ## Method Details

  - ### exception

    void exception(Throwable t)

    Callback for an exception that was not handled by the developer

    ###### Parameters

    - `t`: the exception