src/java.base/share/classes/java/security/spec/ECParameterSpec.java
changeset 58242 94bb65cb37d3
parent 47216 71c04702a3d5
--- a/src/java.base/share/classes/java/security/spec/ECParameterSpec.java	Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/spec/ECParameterSpec.java	Fri Sep 20 11:07:52 2019 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -51,9 +51,9 @@
      * @param g the generator which is also known as the base point.
      * @param n the order of the generator {@code g}.
      * @param h the cofactor.
-     * @exception NullPointerException if {@code curve},
+     * @throws    NullPointerException if {@code curve},
      * {@code g}, or {@code n} is null.
-     * @exception IllegalArgumentException if {@code n}
+     * @throws    IllegalArgumentException if {@code n}
      * or {@code h} is not positive.
      */
     public ECParameterSpec(EllipticCurve curve, ECPoint g,