Is a generic exception because KeyStore.getInstance can throw KeyStoreException and during the load the exceptions NoSuchAlgorithmException and IOException

But if you want to interpret these 3 exceptions as CertificateException, it's ok