Class PowerAuthEncryptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthEncryptionException
- All Implemented Interfaces:
Serializable
public class PowerAuthEncryptionException extends Exception
Exception raised in case encryption or decryption fails.
- Author:
- Roman Strobl, roman.strobl@wultra.com
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PowerAuthEncryptionException()Default constructorPowerAuthEncryptionException(String message)Constructor with a custom error messagePowerAuthEncryptionException(Throwable cause)Constructor with a cause. -
Method Summary
Modifier and Type Method Description StringgetDefaultCode()Get the default error code, used for example in REST response.StringgetDefaultError()Get default error message, used for example in the REST response.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PowerAuthEncryptionException
public PowerAuthEncryptionException()Default constructor -
PowerAuthEncryptionException
Constructor with a custom error message- Parameters:
message- Error message
-
PowerAuthEncryptionException
Constructor with a cause.- Parameters:
cause- Error cause.
-
-
Method Details
-
getDefaultCode
Get the default error code, used for example in REST response.- Returns:
- Default error code.
-
getDefaultError
Get default error message, used for example in the REST response.- Returns:
- Default error message.
-