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.Exception
Anti-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 class
AntiSpoofingException.Code
Exception 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.Code
getCode()
Get exception codejava.lang.String
getMessage()
Get messageBearing
getRequestedBearing()
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:
getMessage
in classjava.lang.Throwable
- Returns:
- Human-readable message describing the exception
-
-