Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

What is Airbag Plugin?

Airbag plugin provides a simple and user friendly exception dialog component that can be used in combination with Griffon UncaughtExceptionThrown event to report any unhandled exception automatically.


Code Block
griffon install-plugin airbag

How to use?

Thanks to the UncaughtExceptionThrown event addition introduced as part of Griffon 0.9.2 release, Airbag dialog can be easily initiated by using the following event handler in your main controller.

Code Block
    void onUncaughtExceptionThrown(ex) {
        doLater {
            try {
                def errorDialog = new AirBagErrorDialog(view.mainWindow,
                        "Uncaught Exception Occured",

            } catch (Exception e) {

Screen Shot