jdk/src/share/classes/java/security/cert/CertificateEncodingException.java
changeset 18551 882a3948c6e6
parent 5506 202f599c92aa
equal deleted inserted replaced
18550:6d0f51c99930 18551:882a3948c6e6
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    54     public CertificateEncodingException(String message) {
    54     public CertificateEncodingException(String message) {
    55         super(message);
    55         super(message);
    56     }
    56     }
    57 
    57 
    58     /**
    58     /**
    59      * Creates a <code>CertificateEncodingException</code> with the specified
    59      * Creates a {@code CertificateEncodingException} with the specified
    60      * detail message and cause.
    60      * detail message and cause.
    61      *
    61      *
    62      * @param message the detail message (which is saved for later retrieval
    62      * @param message the detail message (which is saved for later retrieval
    63      *        by the {@link #getMessage()} method).
    63      *        by the {@link #getMessage()} method).
    64      * @param cause the cause (which is saved for later retrieval by the
    64      * @param cause the cause (which is saved for later retrieval by the
    65      *        {@link #getCause()} method).  (A <tt>null</tt> value is permitted,
    65      *        {@link #getCause()} method).  (A {@code null} value is permitted,
    66      *        and indicates that the cause is nonexistent or unknown.)
    66      *        and indicates that the cause is nonexistent or unknown.)
    67      * @since 1.5
    67      * @since 1.5
    68      */
    68      */
    69     public CertificateEncodingException(String message, Throwable cause) {
    69     public CertificateEncodingException(String message, Throwable cause) {
    70         super(message, cause);
    70         super(message, cause);
    71     }
    71     }
    72 
    72 
    73     /**
    73     /**
    74      * Creates a <code>CertificateEncodingException</code>
    74      * Creates a {@code CertificateEncodingException}
    75      * with the specified cause and a detail message of
    75      * with the specified cause and a detail message of
    76      * <tt>(cause==null ? null : cause.toString())</tt>
    76      * {@code (cause==null ? null : cause.toString())}
    77      * (which typically contains the class and detail message of
    77      * (which typically contains the class and detail message of
    78      * <tt>cause</tt>).
    78      * {@code cause}).
    79      *
    79      *
    80      * @param cause the cause (which is saved for later retrieval by the
    80      * @param cause the cause (which is saved for later retrieval by the
    81      *        {@link #getCause()} method).  (A <tt>null</tt> value is permitted,
    81      *        {@link #getCause()} method).  (A {@code null} value is permitted,
    82      *        and indicates that the cause is nonexistent or unknown.)
    82      *        and indicates that the cause is nonexistent or unknown.)
    83      * @since 1.5
    83      * @since 1.5
    84      */
    84      */
    85     public CertificateEncodingException(Throwable cause) {
    85     public CertificateEncodingException(Throwable cause) {
    86         super(cause);
    86         super(cause);