01: package org.bouncycastle.jce.exception;
02:
03: /**
04: *
05: * This is an extended exception. Java before version 1.4 did not offer the
06: * possibility the attach a cause to an exception. The cause of an exception is
07: * the <code>Throwable</code> object which was thrown and caused the
08: * exception. This interface must be implemented by all exceptions to accomplish
09: * this additional functionality.
10: *
11: */
12: public interface ExtException {
13:
14: /**
15: * Returns the cause of the exception.
16: *
17: * @return The cause of the exception.
18: */
19: Throwable getCause();
20: }
|