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.Constructor and Description |
---|
CryptoFailureException(EncryptionStrategy strategy,
Throwable cause) |
CryptoFailureException(Message message,
EncryptionStrategy strategy) |
CryptoFailureException(Message message,
EncryptionStrategy strategy,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
EncryptionStrategy |
getEncryptionStrategy() |
addInfo, appendMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, prependMessage, setExceptionCode, setMessage, setMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CryptoFailureException(Message message, EncryptionStrategy strategy)
public CryptoFailureException(Message message, EncryptionStrategy strategy, Throwable cause)
public CryptoFailureException(EncryptionStrategy strategy, Throwable cause)
public EncryptionStrategy getEncryptionStrategy()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.