I'm checking this in.
I realized after I committed my last SSLException patch that I needed
to have an '@since 1.5' on the new constructors. This adds that, adds
javadoc to the other constructor, and adds an @since for the class.
Tom
2006-03-03 Tom Tromey <[EMAIL PROTECTED]>
* javax/net/ssl/SSLException.java: Added missing @since.
Wrote javadoc.
Index: javax/net/ssl/SSLException.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/net/ssl/SSLException.java,v
retrieving revision 1.3
diff -u -r1.3 SSLException.java
--- javax/net/ssl/SSLException.java 4 Mar 2006 00:03:05 -0000 1.3
+++ javax/net/ssl/SSLException.java 4 Mar 2006 00:08:27 -0000
@@ -45,6 +45,8 @@
* exception is thrown instead of this exception.
*
* @author Casey Marshall ([EMAIL PROTECTED])
+ *
+ * @since 1.4
*/
public class SSLException extends IOException
{
@@ -53,17 +55,34 @@
// 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());