# HG changeset patch # User prappo # Date 1427298161 0 # Node ID 833acdf3b1d1d4e5951c933caf675e09f6b77f7f # Parent 4922c98744c7ad2b607228d938ed7fa12ecec48c 8075959: Change parameter names in some IOException subclasses Reviewed-by: rriggs diff -r 4922c98744c7 -r 833acdf3b1d1 jdk/src/java.base/share/classes/java/io/ObjectStreamException.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); } /** diff -r 4922c98744c7 -r 833acdf3b1d1 jdk/src/java.base/share/classes/java/net/ProtocolException.java --- 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); } /** diff -r 4922c98744c7 -r 833acdf3b1d1 jdk/src/java.base/share/classes/java/net/UnknownHostException.java --- 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); } /**