8075959: Change parameter names in some IOException subclasses
authorprappo
Wed, 25 Mar 2015 15:42:41 +0000
changeset 29712 833acdf3b1d1
parent 29617 4922c98744c7
child 29713 eeabfe673c97
8075959: Change parameter names in some IOException subclasses Reviewed-by: rriggs
jdk/src/java.base/share/classes/java/io/ObjectStreamException.java
jdk/src/java.base/share/classes/java/net/ProtocolException.java
jdk/src/java.base/share/classes/java/net/UnknownHostException.java
--- a/jdk/src/java.base/share/classes/java/io/ObjectStreamException.java	Wed Mar 25 10:50:08 2015 +0000
+++ b/jdk/src/java.base/share/classes/java/io/ObjectStreamException.java	Wed Mar 25 15:42:41 2015 +0000
@@ -38,10 +38,10 @@
     /**
      * Create an ObjectStreamException with the specified argument.
      *
-     * @param classname the detailed message for the exception
+     * @param message the detailed message for the exception
      */
-    protected ObjectStreamException(String classname) {
-        super(classname);
+    protected ObjectStreamException(String message) {
+        super(message);
     }
 
     /**
--- a/jdk/src/java.base/share/classes/java/net/ProtocolException.java	Wed Mar 25 10:50:08 2015 +0000
+++ b/jdk/src/java.base/share/classes/java/net/ProtocolException.java	Wed Mar 25 15:42:41 2015 +0000
@@ -42,10 +42,10 @@
      * Constructs a new {@code ProtocolException} with the
      * specified detail message.
      *
-     * @param   host   the detail message.
+     * @param   message   the detail message.
      */
-    public ProtocolException(String host) {
-        super(host);
+    public ProtocolException(String message) {
+        super(message);
     }
 
     /**
--- a/jdk/src/java.base/share/classes/java/net/UnknownHostException.java	Wed Mar 25 10:50:08 2015 +0000
+++ b/jdk/src/java.base/share/classes/java/net/UnknownHostException.java	Wed Mar 25 15:42:41 2015 +0000
@@ -41,10 +41,10 @@
      * Constructs a new {@code UnknownHostException} with the
      * specified detail message.
      *
-     * @param   host   the detail message.
+     * @param   message   the detail message.
      */
-    public UnknownHostException(String host) {
-        super(host);
+    public UnknownHostException(String message) {
+        super(message);
     }
 
     /**