01: package org.bouncycastle.tsp;
02:
03: public class TSPException extends Exception {
04: Exception underlyingException;
05:
06: public TSPException(String message) {
07: super (message);
08: }
09:
10: public TSPException(String message, Exception e) {
11: super (message);
12: underlyingException = e;
13: }
14:
15: public Exception getUnderlyingException() {
16: return underlyingException;
17: }
18: }
|