diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-22 18:55:07 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-22 18:55:07 +0000 |
| commit | 2b8d9986140cc36ea6c0a3c3b88571983490e0ef (patch) | |
| tree | 87b531fed8681857be05567aa9d28e931fa58321 /src/file.cpp | |
| parent | Remove inkscape.file.svg (and inkscape.file.png) (diff) | |
| download | inkscape-2b8d9986140cc36ea6c0a3c3b88571983490e0ef.tar.gz inkscape-2b8d9986140cc36ea6c0a3c3b88571983490e0ef.zip | |
Allow extensions to throw more fine-grained exceptions
This allows to tell the user something more helpful than
"File could not be saved" (leaving the reason open for speculation).
The former implementation somehow grew to only ever throw
Inkscape::Extension::Output::save_failed for any exception that
occurred (which did not really matter as we did not throw anything
else but certainly wasn't very useful either).
Questionable throwing behavior was introduced in commits trying to
workaround other issues:
- output.cpp a874b82b41c08fc1738b449d400fcc6aeb85d72a
- system.cpp d8d60c60ebeeefb068d9b68bf7d96f1f1f88518a
Diffstat (limited to 'src/file.cpp')
0 files changed, 0 insertions, 0 deletions
