Constructors Summary |
---|
public CertPathValidatorException(String msg, Throwable cause, CertPath certPath, int index)Creates a new {@code CertPathValidatorException} with the specified
message , cause, certification path and certificate index in the
certification path.
super(msg, cause);
// check certPath and index parameters
if ((certPath == null) && (index != -1)) {
throw new IllegalArgumentException(
Messages.getString("security.53")); //$NON-NLS-1$
}
if ((certPath != null)
&& ((index < -1) || (index >= certPath.getCertificates().size()))) {
throw new IndexOutOfBoundsException(Messages.getString("security.54")); //$NON-NLS-1$
}
this.certPath = certPath;
this.index = index;
|
public CertPathValidatorException(String msg, Throwable cause)Creates a new {@code CertPathValidatorException} with the specified
message and cause.
super(msg, cause);
|
public CertPathValidatorException(Throwable cause)Creates a new {@code CertPathValidatorException} with the specified
cause.
super(cause);
|
public CertPathValidatorException(String msg)Creates a new {@code CertPathValidatorException} with the specified
message.
super(msg);
|
public CertPathValidatorException()Creates a new {@code CertPathValidatorException}.
|