FileOutputStreamProvider - Error Written to Log [message #1692908] |
Mon, 20 April 2015 10:09  |
Eclipse User |
|
|
|
Hi Dirk,
First, thanks for the great work on this project.
When I try to export a table to a problematic location (e.g. a folder for which I don't have permissions to write to), the export aborts and an exception is logged. This behavior is in the FileOutputStreamProvider class, which swallows the exception and doesn't propagate it.
I'd like to change the behavior so the user will get a popup error dialog and no exception will be logged, as from the user point of view it is not understood what is going on.
I can, of course, override the default FileOutputStreamProvider with my own implementation, but i think the default behavior could be improved to just throw the original exception or to extract the exception handling to a separate overridable method.
What do you think?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03911 seconds