org.dasein.cloud.encryption
Class EncryptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.dasein.cloud.InternalException
              extended by org.dasein.cloud.encryption.EncryptionException
All Implemented Interfaces:
Serializable

public class EncryptionException
extends InternalException

Represents an error encrypting/decrypting a data stream to/from the cloud storage environment.

Author:
George Reese @ enStratus (http://www.enstratus.com)
See Also:
Serialized Form

Constructor Summary
EncryptionException()
          Constructs an empty encryption error.
EncryptionException(String msg)
          Constructs an encryption exception with the specified error message.
EncryptionException(Throwable cause)
          Constructs an exception exception resulting from the specified cause.
 
Method Summary
 
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

EncryptionException

public EncryptionException()
Constructs an empty encryption error.


EncryptionException

public EncryptionException(String msg)
Constructs an encryption exception with the specified error message.

Parameters:
msg - the error message explaining why encryption/decryption could not happen

EncryptionException

public EncryptionException(Throwable cause)
Constructs an exception exception resulting from the specified cause.

Parameters:
cause - the cause of this encryption/decryption error