private static final Logger LOGGER = LoggerFactory.getLogger(SslKeyStore.class);
+ private SslKeyStore() {
+ throw new UnsupportedOperationException("Utility class shouldn't be instantiated");
+ }
+
/**
* InputStream instance of key - key location is on classpath
* @param filename keystore location
in = new FileInputStream(keystorefile);
} catch (FileNotFoundException e) {
throw new IllegalStateException("KeyStore file not found: "
- + filename);
+ + filename,e);
}
break;
default: