Added trial app that tests the exception mechanism