com.mapbox.turf.TurfException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapbox-sdk-turf Show documentation
Show all versions of mapbox-sdk-turf Show documentation
Mapbox Services SDK (Turf support)
package com.mapbox.turf;
/**
* This indicates conditions that a reasonable application might want to catch.
*
* A {@link RuntimeException} specific to Turf calculation errors and is thrown whenever either an
* unintended event occurs or the data passed into the method isn't sufficient enough to perform the
* calculation.
*
*
* @see Turfjs documentation
* @since 1.2.0
*/
public class TurfException extends RuntimeException {
/**
* A form of {@link RuntimeException} that indicates conditions that a reasonable application
* might want to catch.
*
* @param message the detail message (which is saved for later retrieval by the
* {@link #getMessage()} method).
* @since 1.2.0
*/
public TurfException(String message) {
super(message);
}
}