javastrava.api.v3.service.exception.StravaAPIException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javastrava-api Show documentation
Show all versions of javastrava-api Show documentation
Java implementation of the Strava API
package javastrava.api.v3.service.exception;
import javastrava.api.v3.model.StravaResponse;
/**
*
* Implementations of this interface will have the error message emitted by the Strava API available via the {@link #getResponse()}
* method
*
*
* @author Dan Shannon
*
*/
public interface StravaAPIException {
/**
* Return the error message emitted by the Strava API
*
* @return the response
*/
public StravaResponse getResponse();
/**
* @param response
* the response to set
*/
public void setResponse(final StravaResponse response);
}