equal
deleted
inserted
replaced
139 * being validated when the error was encountered |
139 * being validated when the error was encountered |
140 * @param index the index of the certificate in the certification path |
140 * @param index the index of the certificate in the certification path |
141 * that caused the error (or -1 if not applicable). Note that |
141 * that caused the error (or -1 if not applicable). Note that |
142 * the list of certificates in a <code>CertPath</code> is zero based. |
142 * the list of certificates in a <code>CertPath</code> is zero based. |
143 * @throws IndexOutOfBoundsException if the index is out of range |
143 * @throws IndexOutOfBoundsException if the index is out of range |
144 * <code>(index < -1 || (certPath != null && index >= |
144 * {@code (index < -1 || (certPath != null && index >= |
145 * certPath.getCertificates().size())</code> |
145 * certPath.getCertificates().size()) } |
146 * @throws IllegalArgumentException if <code>certPath</code> is |
146 * @throws IllegalArgumentException if <code>certPath</code> is |
147 * <code>null</code> and <code>index</code> is not -1 |
147 * <code>null</code> and <code>index</code> is not -1 |
148 */ |
148 */ |
149 public CertPathValidatorException(String msg, Throwable cause, |
149 public CertPathValidatorException(String msg, Throwable cause, |
150 CertPath certPath, int index) { |
150 CertPath certPath, int index) { |
162 * @param index the index of the certificate in the certification path |
162 * @param index the index of the certificate in the certification path |
163 * that caused the error (or -1 if not applicable). Note that |
163 * that caused the error (or -1 if not applicable). Note that |
164 * the list of certificates in a <code>CertPath</code> is zero based. |
164 * the list of certificates in a <code>CertPath</code> is zero based. |
165 * @param reason the reason the validation failed |
165 * @param reason the reason the validation failed |
166 * @throws IndexOutOfBoundsException if the index is out of range |
166 * @throws IndexOutOfBoundsException if the index is out of range |
167 * <code>(index < -1 || (certPath != null && index >= |
167 * {@code (index < -1 || (certPath != null && index >= |
168 * certPath.getCertificates().size())</code> |
168 * certPath.getCertificates().size()) } |
169 * @throws IllegalArgumentException if <code>certPath</code> is |
169 * @throws IllegalArgumentException if <code>certPath</code> is |
170 * <code>null</code> and <code>index</code> is not -1 |
170 * <code>null</code> and <code>index</code> is not -1 |
171 * @throws NullPointerException if <code>reason</code> is <code>null</code> |
171 * @throws NullPointerException if <code>reason</code> is <code>null</code> |
172 * |
172 * |
173 * @since 1.7 |
173 * @since 1.7 |