| Exception Thrown By: | Cause | |
| Class | Method | |
| KeyGenerator | public final void init(int keysize) | if the key size is wrong or not supported |
| Provider.Service | public Object newInstance(Object constructorParameter) | if the value of constructor is invalid. |
| Provider.Service | public boolean supportsParameter(Object parameter) | if the value of parameter is invalid for this type of service or if this method cannot be used with this type of service. |
| Security | public static Provider[] getProviders(String filter) | if the filter is not in the required format. |
| Signer | public key and private key) | if the key pair is not properly initialized. |