org.mule.api.security
Class CryptoFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.api.MuleException
org.mule.api.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 EncryptionStrategy that will be included in the exception
message. Implementors of EncryptionStrategy should provide a toString method
that exposes *only* information that maybe useful for debugging not passwords,
secret keys, etc.
- See Also:
- Serialized Form
Methods inherited from class org.mule.api.MuleException |
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, 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 |
CryptoFailureException
public CryptoFailureException(Message message,
EncryptionStrategy strategy)
CryptoFailureException
public CryptoFailureException(Message message,
EncryptionStrategy strategy,
java.lang.Throwable cause)
CryptoFailureException
public CryptoFailureException(EncryptionStrategy strategy,
java.lang.Throwable cause)
getEncryptionStrategy
public EncryptionStrategy getEncryptionStrategy()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.