Package com.mapbox.turf
Class TurfException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mapbox.turf.TurfException
- All Implemented Interfaces:
Serializable
This indicates conditions that a reasonable application might want to catch.
A 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.
- Since:
- 1.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTurfException(String message) A form ofRuntimeExceptionthat indicates conditions that a reasonable application might want to catch. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TurfException
A form ofRuntimeExceptionthat indicates conditions that a reasonable application might want to catch.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).- Since:
- 1.2.0
-