< prev index next >

src/java.base/share/classes/java/security/cert/CertificateException.java

Print this page




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  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 package java.security.cert;
  27 
  28 import java.security.GeneralSecurityException;
  29 
  30 /**
  31  * This exception indicates one of a variety of certificate problems.
  32  *
  33  * @author Hemma Prafullchandra

  34  * @see Certificate
  35  */
  36 public class CertificateException extends GeneralSecurityException {
  37 
  38     private static final long serialVersionUID = 3192535253797119798L;
  39 
  40     /**
  41      * Constructs a certificate exception with no detail message. A detail
  42      * message is a String that describes this particular exception.
  43      */
  44     public CertificateException() {
  45         super();
  46     }
  47 
  48     /**
  49      * Constructs a certificate exception with the given detail
  50      * message. A detail message is a String that describes this
  51      * particular exception.
  52      *
  53      * @param msg the detail message.




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  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 package java.security.cert;
  27 
  28 import java.security.GeneralSecurityException;
  29 
  30 /**
  31  * This exception indicates one of a variety of certificate problems.
  32  *
  33  * @author Hemma Prafullchandra
  34  * @since 1.2
  35  * @see Certificate
  36  */
  37 public class CertificateException extends GeneralSecurityException {
  38 
  39     private static final long serialVersionUID = 3192535253797119798L;
  40 
  41     /**
  42      * Constructs a certificate exception with no detail message. A detail
  43      * message is a String that describes this particular exception.
  44      */
  45     public CertificateException() {
  46         super();
  47     }
  48 
  49     /**
  50      * Constructs a certificate exception with the given detail
  51      * message. A detail message is a String that describes this
  52      * particular exception.
  53      *
  54      * @param msg the detail message.


< prev index next >