if(!isInitialized) throw new IllegalStateException("KeyManagerFactoryImpl is not initialized"); else return null;
if (ks == null && password == null) { throw new NoSuchAlgorithmException(); } if (ks == null) { throw new KeyStoreException(); } if (password == null) { throw new UnrecoverableKeyException(); } isInitialized = true;
if (spec == null) { throw new InvalidAlgorithmParameterException("Incorrect parameter"); } isInitialized = true;