Class DeviceBindingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.unblu.sdk.module.integrity.devicebinding.DeviceBindingException
- All Implemented Interfaces:
Serializable
Error surfaced by
DeviceBindingApi callbacks.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeviceBindingException(EDeviceBindingErrorReason reason, String message) Client / transport errors: the reason is known at the call site.DeviceBindingException(String rawReason, String message) Server / bridge errors: the reason arrives as a raw code string (e.g. -
Method Summary
Modifier and TypeMethodDescriptionThe original reason code string.The typed reason (see class doc).Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DeviceBindingException
Client / transport errors: the reason is known at the call site. -
DeviceBindingException
Server / bridge errors: the reason arrives as a raw code string (e.g. parsed from the server'serrorMessage). It is mapped toEDeviceBindingErrorReasonorEDeviceBindingErrorReason.UNKNOWNif unrecognized. The original string is preserved ingetRawReason().
-
-
Method Details
-
getReason
The typed reason (see class doc). -
getRawReason
The original reason code string. Useful whengetReason()isEDeviceBindingErrorReason.UNKNOWN(e.g. a newer server code orHTTP_<status>).
-