Made exception messages displayed by message dialogs.