< prev index next >

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

Print this page




  25 
  26 
  27 package javax.net.ssl;
  28 
  29 
  30 /**
  31  * Indicates that the peer's identity has not been verified.
  32  * <P>
  33  * When the peer was not able to
  34  * identify itself (for example; no certificate, the particular
  35  * cipher suite being used does not support authentication, or no
  36  * peer authentication was established during SSL handshaking) this
  37  * exception is thrown.
  38  *
  39  * @since 1.4
  40  * @author David Brownell
  41  */
  42 public
  43 class SSLPeerUnverifiedException extends SSLException
  44 {

  45     private static final long serialVersionUID = -8919512675000600547L;
  46 
  47     /**
  48      * Constructs an exception reporting that the SSL peer's
  49      * identity has not been verified.
  50      *
  51      * @param reason describes the problem.
  52      */
  53     public SSLPeerUnverifiedException(String reason)
  54     {
  55         super(reason);
  56     }
  57 }


  25 
  26 
  27 package javax.net.ssl;
  28 
  29 
  30 /**
  31  * Indicates that the peer's identity has not been verified.
  32  * <P>
  33  * When the peer was not able to
  34  * identify itself (for example; no certificate, the particular
  35  * cipher suite being used does not support authentication, or no
  36  * peer authentication was established during SSL handshaking) this
  37  * exception is thrown.
  38  *
  39  * @since 1.4
  40  * @author David Brownell
  41  */
  42 public
  43 class SSLPeerUnverifiedException extends SSLException
  44 {
  45     @java.io.Serial
  46     private static final long serialVersionUID = -8919512675000600547L;
  47 
  48     /**
  49      * Constructs an exception reporting that the SSL peer's
  50      * identity has not been verified.
  51      *
  52      * @param reason describes the problem.
  53      */
  54     public SSLPeerUnverifiedException(String reason)
  55     {
  56         super(reason);
  57     }
  58 }
< prev index next >