AndroidKeyStoreProvider: Add @throws documentation

Bug: 144791977
Test: Compiles
Change-Id: I9f19e30d58b1b7d504f9e8f7e79dd71a38f81357
This commit is contained in:
Roshan Pius
2019-11-20 14:48:34 -08:00
parent 866e9111c5
commit 4241a2866c

View File

@@ -400,6 +400,12 @@ public class AndroidKeyStoreProvider extends Provider {
*
* <p>Note: the returned {@code KeyStore} is already initialized/loaded. Thus, there is
* no need to invoke {@code load} on it.
*
* @param uid Uid for which the keystore provider is requested.
* @throws KeyStoreException if a KeyStoreSpi implementation for the specified type is not
* available from the specified provider.
* @throws NoSuchProviderException If the specified provider is not registered in the security
* provider list.
* @hide
*/
@SystemApi