01: package org.bouncycastle.ocsp;
02:
03: public class OCSPException extends Exception {
04: Exception e;
05:
06: public OCSPException(String name) {
07: super (name);
08: }
09:
10: public OCSPException(String name, Exception e) {
11: super (name);
12:
13: this .e = e;
14: }
15:
16: public Exception getUnderlyingException() {
17: return e;
18: }
19:
20: public Throwable getCause() {
21: return e;
22: }
23: }
|