Class PowerAuthUpgradeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.base.exception.PowerAuthUpgradeException
- All Implemented Interfaces:
java.io.Serializable
public class PowerAuthUpgradeException
extends java.lang.Exception
Exception raised in case PowerAuth upgrade fails.
- Author:
- Roman Strobl, roman.strobl@wultra.com
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PowerAuthUpgradeException()Default constructor.PowerAuthUpgradeException(java.lang.String message)Constructor with a custom error message. -
Method Summary
Modifier and Type Method Description java.lang.StringgetDefaultCode()Get the default error code, used for example in REST response.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PowerAuthUpgradeException
public PowerAuthUpgradeException()Default constructor. -
PowerAuthUpgradeException
public PowerAuthUpgradeException(java.lang.String message)Constructor with a custom error message.- Parameters:
message- Error message.
-
-
Method Details
-
getDefaultCode
public java.lang.String getDefaultCode()Get the default error code, used for example in REST response.- Returns:
- Default error code.
-