aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/security/KeyRep.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/KeyRep.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/KeyRep.java')
-rw-r--r--src/java.base/share/classes/java/security/KeyRep.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java.base/share/classes/java/security/KeyRep.java b/src/java.base/share/classes/java/security/KeyRep.java
index 75829286368..341c3d99af1 100644
--- a/src/java.base/share/classes/java/security/KeyRep.java
+++ b/src/java.base/share/classes/java/security/KeyRep.java
@@ -121,7 +121,7 @@ public class KeyRep implements Serializable {
* @param encoded the encoded bytes returned from
* {@code Key.getEncoded()}
*
- * @exception NullPointerException
+ * @throws NullPointerException
* if type is {@code null},
* if algorithm is {@code null},
* if format is {@code null},
@@ -158,7 +158,7 @@ public class KeyRep implements Serializable {
*
* @return the resolved Key object
*
- * @exception ObjectStreamException if the Type/format
+ * @throws ObjectStreamException if the Type/format
* combination is unrecognized, if the algorithm, key format, or
* encoded key bytes are unrecognized/invalid, of if the
* resolution of the key fails for any reason