Merge pull request #4265 from izeye/patch-45
* pr/4265: Fix error messages
This commit is contained in:
commit
e3e28c538f
|
|
@ -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
|
||||||
}
|
}
|
||||||
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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue