Package com.appliedrec.verid.core2
Class FacePresenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.appliedrec.verid.core2.FacePresenceException
-
- All Implemented Interfaces:
java.io.Serializable
public class FacePresenceException extends java.lang.Exception
Exception returned by sessions when a face is not present in an image- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FacePresenceException.Code
Exception code constants
-
Constructor Summary
Constructors Constructor Description FacePresenceException(FacePresenceException.Code code, Bearing requestedBearing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FacePresenceException.Code
getCode()
java.lang.String
getMessage()
Bearing
getRequestedBearing()
-
-
-
Constructor Detail
-
FacePresenceException
public FacePresenceException(FacePresenceException.Code code, Bearing requestedBearing)
-
-
Method Detail
-
getCode
public FacePresenceException.Code getCode()
- Returns:
- Exception code
-
getRequestedBearing
public Bearing getRequestedBearing()
- Returns:
- Bearing requested by the session when the exception was thrown
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- Message that describes the exception
-
-