diff options
Diffstat (limited to 'libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/exception/ExtException.java')
-rw-r--r-- | libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/exception/ExtException.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/exception/ExtException.java b/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/exception/ExtException.java new file mode 100644 index 000000000..ea538d13f --- /dev/null +++ b/libraries/spongycastle/prov/src/main/java/org/spongycastle/jce/exception/ExtException.java @@ -0,0 +1,21 @@ +package org.spongycastle.jce.exception; + +/** + * + * This is an extended exception. Java before version 1.4 did not offer the + * possibility the attach a cause to an exception. The cause of an exception is + * the <code>Throwable</code> object which was thrown and caused the + * exception. This interface must be implemented by all exceptions to accomplish + * this additional functionality. + * + */ +public interface ExtException +{ + + /** + * Returns the cause of the exception. + * + * @return The cause of the exception. + */ + Throwable getCause(); +} |