01: package org.bouncycastle.mail.smime;
02:
03: public class SMIMEException extends Exception {
04: Exception e;
05:
06: public SMIMEException(String name) {
07: super (name);
08: }
09:
10: public SMIMEException(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: }
|