libbluray | branch: master | hpi1 <[email protected]> | Mon Mar 23 11:18:47 2015 +0200| [d0b2b9f8f2791ee0f3371f54ae033edfeadb06d3] | committer: hpi1
MountMAnager: drop useless exception dumps > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=d0b2b9f8f2791ee0f3371f54ae033edfeadb06d3 --- src/libbluray/bdj/java/org/videolan/MountManager.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/libbluray/bdj/java/org/videolan/MountManager.java b/src/libbluray/bdj/java/org/videolan/MountManager.java index ce2978c..b0a830f 100644 --- a/src/libbluray/bdj/java/org/videolan/MountManager.java +++ b/src/libbluray/bdj/java/org/videolan/MountManager.java @@ -82,12 +82,11 @@ public class MountManager { mountPoint = new MountPoint(jarStr, classFiles); } } catch (IOException e) { - e.printStackTrace(); + logger.error("Error opening " + path + ": " + e); if (jar != null) { try { jar.close(); } catch (IOException e1) { - e1.printStackTrace(); } } throw new MountException(); @@ -125,7 +124,7 @@ public class MountManager { } } } catch (IOException e) { - e.printStackTrace(); + logger.error("Error uncompressing " + path + ": " + e); mountPoint.remove(); throw new MountException(); } finally { @@ -133,20 +132,17 @@ public class MountManager { try { inStream.close(); } catch (IOException e) { - e.printStackTrace(); } } if (outStream != null) { try { outStream.close(); } catch (IOException e) { - e.printStackTrace(); } } try { jar.close(); } catch (IOException e) { - e.printStackTrace(); } } _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
