Fix error messages

Closes gh-4265
This commit is contained in:
Johnny Lim
2015-10-22 09:35:43 +09:00
committed by Stephane Nicoll
parent 84728c44c3
commit a1e210f578

View File

@@ -330,7 +330,7 @@ public class TomcatEmbeddedServletContainerFactory
}
catch (FileNotFoundException ex) {
throw new EmbeddedServletContainerException(
"Could load key store: " + ex.getMessage(), ex);
"Could not load key store: " + ex.getMessage(), ex);
}
if (ssl.getKeyStoreType() != null) {
protocol.setKeystoreType(ssl.getKeyStoreType());
@@ -348,7 +348,7 @@ public class TomcatEmbeddedServletContainerFactory
}
catch (FileNotFoundException ex) {
throw new EmbeddedServletContainerException(
"Could load trust store: " + ex.getMessage(), ex);
"Could not load trust store: " + ex.getMessage(), ex);
}
}
protocol.setTruststorePass(ssl.getTrustStorePassword());