List of usage examples for java.security NoSuchProviderException NoSuchProviderException
public NoSuchProviderException(String msg)
From source file:Main.java
static Provider getProvider(String provider) throws NoSuchProviderException { Provider prov = Security.getProvider(provider); if (prov == null) { throw new NoSuchProviderException("Provider " + provider + " not found"); }/* w w w .ja v a2 s.c o m*/ return prov; }