5.2.5. Starting the application

The application is started shown in Example 5.13. Any exceptions are trapped.

Example 5.13. Starting the application

...
       app->run();
    } catch (MDE::Exception e) {
        argErrorExit("%s\n", e.getMessage().getCharString());
    } catch (std::exception e) {
        argErrorExit("Standard Library Exception?\n", NULL);
    } catch (...) {
        argErrorExit("Non MDE Exception\n", NULL);
    }
    return 0;
}

Copyright © 2010 ARM. All rights reserved.ARM DUI 0527A‑02a
Non-Confidential - Draft - BetaID070710