aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-06-06 16:57:14 +0200
committerJiri Vanek <[email protected]>2013-06-06 16:57:14 +0200
commitb88f1e63c7a8eb23ec4ec27726d2fe6a9968f1d6 (patch)
tree7c60b990a117be4fb5c31723499613cdd686aec2 /netx/net
parent11fd7b8b63735365f41cb34133daf29c295d749a (diff)
Silenced deployment.properties and zero size applet exceptions with tests
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
index 61061d2..e4d1040 100644
--- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
+++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
@@ -427,7 +427,9 @@ public final class DeploymentConfiguration {
jrePath = jreSetting.getValue();
}
} catch (Exception ex) {
- ex.printStackTrace();
+ if (JNLPRuntime.isDebug()){
+ ex.printStackTrace();
+ }
}
File jreFile;
@@ -530,6 +532,9 @@ public final class DeploymentConfiguration {
try {
return parsePropertiesFile(file);
} catch (IOException e) {
+ if (JNLPRuntime.isDebug()){
+ e.printStackTrace();
+ }
return null;
}
}