org.bouncycastle.cms.CMSException.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.cms.CMSException.java

Source

package org.bouncycastle.cms;

public class CMSException extends Exception {
    Exception e;

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

    public CMSException(String msg, Exception e) {
        super(msg);

        this.e = e;
    }

    public Exception getUnderlyingException() {
        return e;
    }

    public Throwable getCause() {
        return e;
    }
}