com.sinch.sdk.core.exceptions.ApiMappingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.core.exceptions;
/** Sinch Client exception related to payload parsing/mapping error */
public class ApiMappingException extends ApiException {
private static final long serialVersionUID = 1L;
/**
* Exception throw when parsing a payload was causing an issue
*
* @param payload Payload causing error
* @param throwable Cause
*/
public ApiMappingException(String payload, Throwable throwable) {
super(String.format("Unable to map string '%s'", payload), throwable);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy