Class PowerAuthActivationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthActivationException
- All Implemented Interfaces:
Serializable
public class PowerAuthActivationException extends Exception
Exception related to processes during a new activation process.
- Author:
- Petr Dvorak, petr@wultra.com
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PowerAuthActivationException()Default constructor.PowerAuthActivationException(String message)Constructor with a custom error message.PowerAuthActivationException(Throwable cause)Constructor with a cause. -
Method Summary
Modifier and Type Method Description StringgetDefaultCode()Get default error code, used for example in the 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
-
PowerAuthActivationException
public PowerAuthActivationException()Default constructor. -
PowerAuthActivationException
Constructor with a custom error message.- Parameters:
message- Error message.
-
PowerAuthActivationException
Constructor with a cause.- Parameters:
cause- Error cause.
-
-
Method Details
-
getDefaultCode
Get default error code, used for example in the REST response.- Returns:
- Default error code.
-
getDefaultError
Get default error message, used for example in the REST response.- Returns:
- Default error message.
-