< prev index next >

src/java.base/share/classes/javax/net/ssl/SSLHandshakeException.java

Print this page




  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 
  27 package javax.net.ssl;
  28 
  29 
  30 /**
  31  * Indicates that the client and server could not negotiate the
  32  * desired level of security.  The connection is no longer usable.
  33  *
  34  * @since 1.4
  35  * @author David Brownell
  36  */
  37 public
  38 class SSLHandshakeException extends SSLException
  39 {

  40     private static final long serialVersionUID = -5045881315018326890L;
  41 
  42     /**
  43      * Constructs an exception reporting an error found by
  44      * an SSL subsystem during handshaking.
  45      *
  46      * @param reason describes the problem.
  47      */
  48     public SSLHandshakeException(String reason)
  49     {
  50         super(reason);
  51     }
  52 }


  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 
  27 package javax.net.ssl;
  28 
  29 
  30 /**
  31  * Indicates that the client and server could not negotiate the
  32  * desired level of security.  The connection is no longer usable.
  33  *
  34  * @since 1.4
  35  * @author David Brownell
  36  */
  37 public
  38 class SSLHandshakeException extends SSLException
  39 {
  40     @java.io.Serial
  41     private static final long serialVersionUID = -5045881315018326890L;
  42 
  43     /**
  44      * Constructs an exception reporting an error found by
  45      * an SSL subsystem during handshaking.
  46      *
  47      * @param reason describes the problem.
  48      */
  49     public SSLHandshakeException(String reason)
  50     {
  51         super(reason);
  52     }
  53 }
< prev index next >