Package com.regula.facesdk.exception
Class DetectFacesErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.regula.facesdk.exception.DetectFacesErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public final class DetectFacesErrorException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DetectFacesErrorException(DetectFacesErrorCode code)
DetectFacesErrorException(DetectFacesErrorCode code, java.lang.String message)
DetectFacesErrorException(DetectFacesErrorCode code, java.lang.String message, DetectFacesBackendException underlyingException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectFacesErrorCode
getErrorCode()
method return error codejava.lang.String
getMessage()
DetectFacesBackendException
getUnderlyingException()
-
-
-
Constructor Detail
-
DetectFacesErrorException
public DetectFacesErrorException(DetectFacesErrorCode code)
-
DetectFacesErrorException
public DetectFacesErrorException(DetectFacesErrorCode code, java.lang.String message)
-
DetectFacesErrorException
public DetectFacesErrorException(DetectFacesErrorCode code, java.lang.String message, DetectFacesBackendException underlyingException)
-
-
Method Detail
-
getErrorCode
public DetectFacesErrorCode getErrorCode()
method return error code- Returns:
- one of
DetectFacesErrorCode
-
getUnderlyingException
public DetectFacesBackendException getUnderlyingException()
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
-