summaryrefslogtreecommitdiff
path: root/javax/net/ssl/SSLException.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/net/ssl/SSLException.java')
-rw-r--r--javax/net/ssl/SSLException.java19
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());