org.mule.umo.security
Class CryptoFailureException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.mule.umo.UMOException
              extended byorg.mule.MuleException
                  extended byorg.mule.umo.security.CryptoFailureException
All Implemented Interfaces:
java.io.Serializable

public class CryptoFailureException
extends MuleException

CryptoFailureException is a generic exception thrown by an CryptoStrategy if encryption or decryption fails. The constuctors of this exception accept a UMOEncryptionStrategy that will be included in the exception message. Implementors of UMOEncryptionStrategy should provide a toString method that exposes *only* information that maybe useful for debugging not passwords, secret keys, etc.

Version:
$Revision: 1.3 $
Author:
Ross Mason
See Also:
Serialized Form

Constructor Summary
CryptoFailureException(Message message, UMOEncryptionStrategy strategy)
           
CryptoFailureException(Message message, UMOEncryptionStrategy strategy, java.lang.Throwable cause)
           
CryptoFailureException(UMOEncryptionStrategy strategy, java.lang.Throwable cause)
           
 
Method Summary
 UMOEncryptionStrategy getEncryptionStrategy()
           
 
Methods inherited from class org.mule.umo.UMOException
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getInfo, getMessage, getMessageCode, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CryptoFailureException

public CryptoFailureException(Message message,
                              UMOEncryptionStrategy strategy)

CryptoFailureException

public CryptoFailureException(Message message,
                              UMOEncryptionStrategy strategy,
                              java.lang.Throwable cause)

CryptoFailureException

public CryptoFailureException(UMOEncryptionStrategy strategy,
                              java.lang.Throwable cause)
Method Detail

getEncryptionStrategy

public UMOEncryptionStrategy getEncryptionStrategy()


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.