8075959: Change parameter names in some IOException subclasses
Reviewed-by: rriggs
--- 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);
}
/**