mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
do not throw unchecked exception when closing viewer
This commit is contained in:
parent
55f1ddcd97
commit
9cf94d5525
@ -110,8 +110,7 @@ public abstract class AbstractDataResultViewer extends JPanel implements
|
|||||||
this.em.getRootContext().destroy();
|
this.em.getRootContext().destroy();
|
||||||
em = null;
|
em = null;
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
// TODO: What's the proper thing to do here? Should it log? Not throw runtime exception?
|
logger.log(Level.WARNING, "Can't clear the component of the Thumbnail Result Viewer.", ex);
|
||||||
throw new RuntimeException("Error: can't clear the component of the Thumbnail Result Viewer.", ex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user