Package com.sinch.sdk.core.exceptions
Class ApiMappingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sinch.sdk.core.exceptions.ApiException
com.sinch.sdk.core.exceptions.ApiMappingException
- All Implemented Interfaces:
Serializable
Sinch Client exception related to payload parsing/mapping error
- See Also:
-
Constructor Summary
ConstructorDescriptionApiMappingException
(String payload, Throwable throwable) Exception throw when parsing a payload was causing an issue -
Method Summary
Methods inherited from class com.sinch.sdk.core.exceptions.ApiException
getCode, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ApiMappingException
Exception throw when parsing a payload was causing an issue- Parameters:
payload
- Payload causing errorthrowable
- Cause
-