public class InvalidChallengeException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
InvalidChallengeException.ErrorCodeEnum
Enumeration to point detailed error for provided challenge
|
Constructor and Description |
---|
InvalidChallengeException()
Constructor.
|
InvalidChallengeException(InvalidChallengeException.ErrorCodeEnum errorCode)
Constructor.
|
InvalidChallengeException(InvalidChallengeException.ErrorCodeEnum errorCode,
String additionalMessage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
InvalidChallengeException.ErrorCodeEnum |
getErrorCode()
Returns the error code causing exception.
|
void |
setErrorCodeEnum(InvalidChallengeException.ErrorCodeEnum errorCode)
Sets the error type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidChallengeException()
public InvalidChallengeException(InvalidChallengeException.ErrorCodeEnum errorCode)
errorCode
- Challenge exception error codepublic InvalidChallengeException(InvalidChallengeException.ErrorCodeEnum errorCode, String additionalMessage)
errorCode
- Challenge exception error codeadditionalMessage
- An unlocalized message that provides additional
detail about the error.public InvalidChallengeException.ErrorCodeEnum getErrorCode()
public void setErrorCodeEnum(InvalidChallengeException.ErrorCodeEnum errorCode)
errorCode
- code.Copyright © 2005-2020 HID Global Corporation/ASSA ABLOY AB.