Possible to modify the default way an error is displayed? [message #482561] |
Thu, 27 August 2009 00:54  |
Eclipse User |
|
|
|
Hello,
If there is an error creating a view or similar, the default response is
for the application to display message like "Could not create view: An
unexpected exception was thrown", with a details button, that when
clicked displays to the user a nasty stack trace.
Is there any way to provide my own display here, with a more simple
message like "A software error has occurred, please contact support at
help@email.com"? I know with web frameworks and such there is a way to
set a custom default error page if an exception makes it's way out of
the framework, is there anything similar here?
Thanks,
Jason
|
|
|
|
Re: Possible to modify the default way an error is displayed? [message #482690 is a reply to message #482561] |
Thu, 27 August 2009 10:36  |
Eclipse User |
|
|
|
Hi Jason,
there's an eclipse article about ui error handling:
http://wiki.eclipse.org/Platform_UI_Error_Handling
There you'll find information how to add status handlers to your
application.
hth,
Remo
Jason Kolter wrote:
> Hello,
>
> If there is an error creating a view or similar, the default response is
> for the application to display message like "Could not create view: An
> unexpected exception was thrown", with a details button, that when
> clicked displays to the user a nasty stack trace.
>
> Is there any way to provide my own display here, with a more simple
> message like "A software error has occurred, please contact support at
> help@email.com"? I know with web frameworks and such there is a way to
> set a custom default error page if an exception makes it's way out of
> the framework, is there anything similar here?
>
> Thanks,
>
> Jason
|
|
|
Powered by
FUDForum. Page generated in 0.06020 seconds