org.mule.umo.security
Class CryptoFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.umo.UMOException
org.mule.umo.security.UMOSecurityException
org.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
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 |
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 messagecause
- the exception that cause this exception to be thrown
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.