aboutsummaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/security/KeyRep.java
diff options
context:
space:
mode:
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