org.pdfbox.exceptions

Class CryptographyException


public class CryptographyException
extends Exception

An exception that indicates that something has gone wrong during a cryptography operation.
Version:
$Revision: 1.4 $
Author:
Ben Litchfield

Constructor Summary

CryptographyException(Exception e)
Constructor.
CryptographyException(String msg)
Constructor.

Method Summary

Exception
getEmbedded()
This will get the exception that caused this exception.

Constructor Details

CryptographyException

public CryptographyException(Exception e)
Constructor.
Parameters:
e - The root exception that caused this exception.

CryptographyException

public CryptographyException(String msg)
Constructor.
Parameters:
msg - A msg to go with this exception.

Method Details

getEmbedded

public Exception getEmbedded()
This will get the exception that caused this exception.
Returns:
The embedded exception if one exists.