diff options
author | Tom Tromey <tromey@redhat.com> | 2006-03-04 00:09:55 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2006-03-04 00:09:55 +0000 |
commit | 28aa9bf7293c77cf62eec910e392958f5d14a7dd (patch) | |
tree | 67eea9b3d61ddae32102593eea58efaf7074753a /javax | |
parent | fad8f87116c868428786e11d92342dbf6f814cc0 (diff) | |
download | classpath-28aa9bf7293c77cf62eec910e392958f5d14a7dd.tar.gz |
* javax/net/ssl/SSLException.java: Added missing @since.
Wrote javadoc.
Diffstat (limited to 'javax')
-rw-r--r-- | javax/net/ssl/SSLException.java | 19 |
1 files changed, 19 insertions, 0 deletions
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()); |