All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sinch.sdk.core.exceptions.ApiMappingException Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
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