01: package org.bouncycastle.crypto.tls;
02:
03: public class TlsRuntimeException extends RuntimeException {
04: Throwable e;
05:
06: public TlsRuntimeException(String message, Throwable e) {
07: super (message);
08:
09: this .e = e;
10: }
11:
12: public TlsRuntimeException(String message) {
13: super (message);
14: }
15:
16: public Throwable getCause() {
17: return e;
18: }
19: }
|