- exporter.doExport(null, this, width, height,
- tree.toLowerCase(Locale.ROOT));
+ try
+ {
+ exporter.doExport(null, this, width, height,
+ tree.toLowerCase(Locale.ROOT));
+ } catch (ImageOutputException ioex)
+ {
+ Console.error(
+ "Unexpected error whilst writing " + imageFormat.toString(),
+ ioex);
+ }