aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/security/Signer.java
diff options
context:
space:
mode:
authorJulia Boes <jboes@openjdk.org>2019-09-20 11:07:52 +0100
committerJulia Boes <jboes@openjdk.org>2019-09-20 11:07:52 +0100
commitb15b322cf396287b5ae7b8e2a19205791d902fad (patch)
tree91c03d816c53f2f39a897978fb3bcc793173ef54 /src/java.base/share/classes/java/security/Signer.java
parent2fc6c6459d4b0c7538787987ee0518b0133e790d (diff)
downloadopenjdk-b15b322cf396287b5ae7b8e2a19205791d902fad.tar.gz
openjdk-b15b322cf396287b5ae7b8e2a19205791d902fad.zip
8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
Diffstat (limited to 'src/java.base/share/classes/java/security/Signer.java')
-rw-r--r--src/java.base/share/classes/java/security/Signer.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java.base/share/classes/java/security/Signer.java b/src/java.base/share/classes/java/security/Signer.java
index 32773136269..0f9f9bad56d 100644
--- a/src/java.base/share/classes/java/security/Signer.java
+++ b/src/java.base/share/classes/java/security/Signer.java
@@ -84,7 +84,7 @@ public abstract class Signer extends Identity {
*
* @param scope the scope of the identity.
*
- * @exception KeyManagementException if there is already an identity
+ * @throws KeyManagementException if there is already an identity
* with the same name in the scope.
*/
public Signer(String name, IdentityScope scope)
@@ -102,7 +102,7 @@ public abstract class Signer extends Identity {
* @return this signer's private key, or null if the private key has
* not yet been set.
*
- * @exception SecurityException if a security manager exists and its
+ * @throws SecurityException if a security manager exists and its
* {@code checkSecurityAccess} method doesn't allow
* returning the private key.
*
@@ -122,11 +122,11 @@ public abstract class Signer extends Identity {
*
* @param pair an initialized key pair.
*
- * @exception InvalidParameterException if the key pair is not
+ * @throws InvalidParameterException if the key pair is not
* properly initialized.
- * @exception KeyException if the key pair cannot be set for any
+ * @throws KeyException if the key pair cannot be set for any
* other reason.
- * @exception SecurityException if a security manager exists and its
+ * @throws SecurityException if a security manager exists and its
* {@code checkSecurityAccess} method doesn't allow
* setting the key pair.
*