org.apache.pdfbox.exceptions
Class CryptographyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.pdfbox.exceptions.CryptographyException
All Implemented Interfaces:
Serializable

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
See Also:
Serialized Form

Constructor Summary
CryptographyException(Exception e)
          Constructor.
CryptographyException(String msg)
          Constructor.
 
Method Summary
 Exception getEmbedded()
          This will get the exception that caused this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CryptographyException

public CryptographyException(String msg)
Constructor.

Parameters:
msg - A msg to go with this exception.

CryptographyException

public CryptographyException(Exception e)
Constructor.

Parameters:
e - The root exception that caused this exception.
Method Detail

getEmbedded

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

Returns:
The embedded exception if one exists.


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.