FileDocCategorySizeDatePackage
CertPathReviewerException.javaAPI DocAndroid 1.5 API1765Wed May 06 22:41:06 BST 2009org.bouncycastle.x509

CertPathReviewerException

public class CertPathReviewerException extends org.bouncycastle.i18n.LocalizedException

Fields Summary
private int
index
private CertPath
certPath
Constructors Summary
public CertPathReviewerException(org.bouncycastle.i18n.ErrorBundle errorMessage, Throwable throwable)

    
        
    
        super(errorMessage, throwable);
    
public CertPathReviewerException(org.bouncycastle.i18n.ErrorBundle errorMessage)

        super(errorMessage);
    
public CertPathReviewerException(org.bouncycastle.i18n.ErrorBundle errorMessage, Throwable throwable, CertPath certPath, int index)

        super(errorMessage, throwable);
        if (certPath == null || index == -1)
        {
            throw new IllegalArgumentException();
        }
        if (index < -1 || (certPath != null && index >= certPath.getCertificates().size()))
        {
            throw new IndexOutOfBoundsException();
        }
        this.certPath = certPath;
        this.index = index;
    
public CertPathReviewerException(org.bouncycastle.i18n.ErrorBundle errorMessage, CertPath certPath, int index)

        super(errorMessage);
        if (certPath == null || index == -1)
        {
            throw new IllegalArgumentException();
        }
        if (index < -1 || (certPath != null && index >= certPath.getCertificates().size()))
        {
            throw new IndexOutOfBoundsException();
        }
        this.certPath = certPath;
        this.index = index;
    
Methods Summary
public java.security.cert.CertPathgetCertPath()

        return certPath;
    
public intgetIndex()

        return index;