org.bouncycastle.tsp.TSPException.java Source code

Java tutorial

Introduction

Here is the source code for org.bouncycastle.tsp.TSPException.java

Source

package org.bouncycastle.tsp;

public class TSPException extends Exception {
    Throwable underlyingException;

    public TSPException(String message) {
        super(message);
    }

    public TSPException(String message, Throwable e) {
        super(message);
        underlyingException = e;
    }

    public Exception getUnderlyingException() {
        return (Exception) underlyingException;
    }

    public Throwable getCause() {
        return underlyingException;
    }
}