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.umo.security.UMOSecurityException
                  extended byorg.mule.umo.security.CryptoFailureException
All Implemented Interfaces:
java.io.Serializable

public class CryptoFailureException
extends UMOSecurityException

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.1 $
Author:
Ross Mason
See Also:
Serialized Form

Constructor Summary
CryptoFailureException(java.lang.String message, java.lang.Throwable cause, UMOEncryptionStrategy strategy)
           
CryptoFailureException(java.lang.String message, UMOEncryptionStrategy strategy)
           
 
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

CryptoFailureException

public CryptoFailureException(java.lang.String message,
                              UMOEncryptionStrategy strategy)
Parameters:
message - the exception message

CryptoFailureException

public CryptoFailureException(java.lang.String message,
                              java.lang.Throwable cause,
                              UMOEncryptionStrategy strategy)
Parameters:
message - the exception message
cause - the exception that cause this exception to be thrown


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