summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-03-04 00:09:55 +0000
committerTom Tromey <tromey@redhat.com>2006-03-04 00:09:55 +0000
commit28aa9bf7293c77cf62eec910e392958f5d14a7dd (patch)
tree67eea9b3d61ddae32102593eea58efaf7074753a
parentfad8f87116c868428786e11d92342dbf6f814cc0 (diff)
downloadclasspath-28aa9bf7293c77cf62eec910e392958f5d14a7dd.tar.gz
* javax/net/ssl/SSLException.java: Added missing @since.
Wrote javadoc.
-rw-r--r--ChangeLog5
-rw-r--r--javax/net/ssl/SSLException.java19
2 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a95efc008..d882ed109 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-03-03 Tom Tromey <tromey@redhat.com>
+ * javax/net/ssl/SSLException.java: Added missing @since.
+ Wrote javadoc.
+
+2006-03-03 Tom Tromey <tromey@redhat.com>
+
* javax/net/ssl/SSLException.java (SSLException): New constructors.
(serialVersionUID): New field.
diff --git a/javax/net/ssl/SSLException.java b/javax/net/ssl/SSLException.java
index 33c9e1af9..3213b0b45 100644
--- a/javax/net/ssl/SSLException.java
+++ b/javax/net/ssl/SSLException.java
@@ -45,6 +45,8 @@ import java.io.IOException;
* exception is thrown instead of this exception.
*
* @author Casey Marshall (rsdio@metastatic.org)
+ *
+ * @since 1.4
*/
public class SSLException extends IOException
{
@@ -53,17 +55,34 @@ public class SSLException extends IOException
// Constructor.
// ------------------------------------------------------------------
+ /**
+ * Create a new instance with a descriptive error message.
+ *
+ * @param message the descriptive error message
+ */
public SSLException(String message)
{
super(message);
}
+ /**
+ * Create a new instance with a descriptive error message and
+ * a cause.
+ * @param message the descriptive error message
+ * @param cause the cause
+ * @since 1.5
+ */
public SSLException(String message, Throwable cause)
{
super(message);
initCause(cause);
}
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
public SSLException(Throwable cause)
{
super(cause == null ? null : cause.toString());