Commit a1e210f5 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Fix error messages

Closes gh-4265
parent 84728c44
...@@ -330,7 +330,7 @@ public class TomcatEmbeddedServletContainerFactory ...@@ -330,7 +330,7 @@ public class TomcatEmbeddedServletContainerFactory
} }
catch (FileNotFoundException ex) { catch (FileNotFoundException ex) {
throw new EmbeddedServletContainerException( throw new EmbeddedServletContainerException(
"Could load key store: " + ex.getMessage(), ex); "Could not load key store: " + ex.getMessage(), ex);
} }
if (ssl.getKeyStoreType() != null) { if (ssl.getKeyStoreType() != null) {
protocol.setKeystoreType(ssl.getKeyStoreType()); protocol.setKeystoreType(ssl.getKeyStoreType());
...@@ -348,7 +348,7 @@ public class TomcatEmbeddedServletContainerFactory ...@@ -348,7 +348,7 @@ public class TomcatEmbeddedServletContainerFactory
} }
catch (FileNotFoundException ex) { catch (FileNotFoundException ex) {
throw new EmbeddedServletContainerException( throw new EmbeddedServletContainerException(
"Could load trust store: " + ex.getMessage(), ex); "Could not load trust store: " + ex.getMessage(), ex);
} }
} }
protocol.setTruststorePass(ssl.getTrustStorePassword()); protocol.setTruststorePass(ssl.getTrustStorePassword());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment