Exception Handling of scripted data source for preview [message #915429] |
Mon, 17 September 2012 04:50  |
Eclipse User |
|
|
|
Dear all,
I'm using scripted data sources (JAVA) successfully for quite a while now.
Now I would like to present error messages in the preview of the designer (only in the designer, in my application I do not have this problem).
For example, passwords are transmitted as parameter to my datasource. If the password is wrong, at the moment the user gets the whole stack trace in the preview of the designer.
I'm searching for:
- a possibility to configure the designer in a way it will only show the exception message but not the whole stack trace
or
- a possibility to return an error message
It is OK to present the message in the preview window, an alert box is not necessary (but would be nice).
Is there a way to solve this?
Thank you in advance!
Best regards
Mark
|
|
|
|
Powered by
FUDForum. Page generated in 0.31853 seconds