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:
- 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 |
CryptoFailureException
public CryptoFailureException(Message message,
EncryptionStrategy strategy)
CryptoFailureException
public CryptoFailureException(Message message,
EncryptionStrategy strategy,
Throwable cause)
CryptoFailureException
public CryptoFailureException(EncryptionStrategy strategy,
Throwable cause)
getEncryptionStrategy
public EncryptionStrategy getEncryptionStrategy()
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.