KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > net > ssl > SSLException


1 /*
2  * @(#)SSLException.java 1.8 04/02/16
3  *
4  * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7   
8 /*
9  * NOTE:
10  * Because of various external restrictions (i.e. US export
11  * regulations, etc.), the actual source code can not be provided
12  * at this time. This file represents the skeleton of the source
13  * file, so that javadocs of the API can be created.
14  */

15
16 package javax.net.ssl;
17
18 import java.io.IOException;
19
20 /**
21  * Indicates some kind of error detected by an SSL subsystem.
22  * This class is the general class of exceptions produced
23  * by failed SSL-related operations.
24  *
25  * @since 1.4
26  * @version 1.13
27  * @author David Brownell
28  */

29 public class SSLException extends IOException
30 {
31
32     /**
33      * Constructs an exception reporting an error found by
34      * an SSL subsystem.
35      *
36      * @param reason describes the problem.
37      */

38     public SSLException(String reason) { }
39
40     /**
41      * Creates a <code>SSLException</code> with the specified
42      * detail message and cause.
43      *
44      * @param message the detail message (which is saved for later retrieval
45      * by the {@link #getMessage()} method).
46      * @param cause the cause (which is saved for later retrieval by the
47      * {@link #getCause()} method). (A <tt>null</tt> value is
48      * permitted, and indicates that the cause is nonexistent or
49      * unknown.)
50      * @since 1.5
51      */

52     public SSLException(String message, Throwable cause) { }
53
54     /**
55      * Creates a <code>SSLException</code> with the specified cause
56      * and a detail message of <tt>(cause==null ? null : cause.toString())</tt>
57      * (which typically contains the class and detail message of
58      * <tt>cause</tt>).
59      *
60      * @param cause the cause (which is saved for later retrieval by the
61      * {@link #getCause()} method). (A <tt>null</tt> value is
62      * permitted, and indicates that the cause is nonexistent or
63      * unknown.)
64      * @since 1.5
65      */

66     public SSLException(Throwable cause) { }
67 }
68
Popular Tags