public class CryptoFailureException
extends org.mule.runtime.api.exception.MuleException
CryptoFailureException is a generic exception thrown by an CryptoStrategy if encryption or decryption fails.
The constructors 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(org.mule.runtime.api.i18n.I18nMessage message,
EncryptionStrategy strategy) |
CryptoFailureException(org.mule.runtime.api.i18n.I18nMessage message,
EncryptionStrategy strategy,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
EncryptionStrategy |
getEncryptionStrategy() |
addInfo, appendMessage, appendSummaryMessage, equals, getDetailedMessage, getExceptionCode, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, initialise, isVerboseExceptions, prependMessage, setExceptionCode, setMessage, setMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CryptoFailureException(org.mule.runtime.api.i18n.I18nMessage message,
EncryptionStrategy strategy)
public CryptoFailureException(org.mule.runtime.api.i18n.I18nMessage message,
EncryptionStrategy strategy,
Throwable cause)
public CryptoFailureException(EncryptionStrategy strategy, Throwable cause)
public EncryptionStrategy getEncryptionStrategy()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.