All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.spongycastle.cms.CMSRuntimeException Maven / Gradle / Ivy

Go to download

Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle intended for the Android platform. Android unfortunately ships with a stripped-down version of Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full, up-to-date version of the Bouncy Castle cryptographic libs.

The newest version!
package org.spongycastle.cms;

public class CMSRuntimeException
    extends RuntimeException
{
    Exception   e;

    public CMSRuntimeException(
        String name)
    {
        super(name);
    }

    public CMSRuntimeException(
        String name,
        Exception e)
    {
        super(name);

        this.e = e;
    }

    public Exception getUnderlyingException()
    {
        return e;
    }
    
    public Throwable getCause()
    {
        return e;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy