org.bouncycastle.pkcs.PKCSException.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.pkcs.PKCSException.java

Source

package org.bouncycastle.pkcs;

/**
 * General checked Exception thrown in the cert package and its sub-packages.
 */
public class PKCSException extends Exception {
    private Throwable cause;

    public PKCSException(String msg, Throwable cause) {
        super(msg);

        this.cause = cause;
    }

    public PKCSException(String msg) {
        super(msg);
    }

    public Throwable getCause() {
        return cause;
    }
}