Package com.appliedrec.verid.core2
Class AntiSpoofingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.appliedrec.verid.core2.AntiSpoofingException
-
- All Implemented Interfaces:
java.io.Serializable
public class AntiSpoofingException extends java.lang.ExceptionAnti-spoofing exception Thrown when the user fails to pass anti-spoofing measures in a liveness detection session- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAntiSpoofingException.CodeException code constants
-
Constructor Summary
Constructors Constructor Description AntiSpoofingException(AntiSpoofingException.Code code, Bearing requestedBearing)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AntiSpoofingException.CodegetCode()Get exception codejava.lang.StringgetMessage()Get messageBearinggetRequestedBearing()Get requested bearing
-
-
-
Constructor Detail
-
AntiSpoofingException
public AntiSpoofingException(AntiSpoofingException.Code code, Bearing requestedBearing)
Constructor- Parameters:
code- CoderequestedBearing- Requested bearing
-
-
Method Detail
-
getCode
public AntiSpoofingException.Code getCode()
Get exception code- Returns:
- Exception code
-
getRequestedBearing
public Bearing getRequestedBearing()
Get requested bearing- Returns:
- Bearing requested by the session when the exception was thrown
-
getMessage
public java.lang.String getMessage()
Get message- Overrides:
getMessagein classjava.lang.Throwable- Returns:
- Human-readable message describing the exception
-
-