org.spongycastle.jce.exception.ExtException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scprov-jdk15 Show documentation
Show all versions of scprov-jdk15 Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle intended for Android.
Android ships with a stripped-down version of Bouncy Castle - this causes classloader collisions if you try to add
an alternative (updated/complete) Bouncy Castle jar.
This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5.
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 Throwable
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();
}