Special handling for IApplication API exceptions

Now catching exceptions defined in the IApplication interface and bubble them
up as before. Other exceptions are logged and ignored.