Skip to content
Select language:English

Way-Fi 1.6.0

abstract class GeoJson : WayFiException

Base class for all the exceptions thrown while parsing a GeoJSON file.

Inheritors

Types

class BadGeometry(code: Int, message: String) : WayFiException.GeoJson

Exception thrown when geometry type or number of coordinates are not correct.

class BadProperty(code: Int, message: String) : WayFiException.GeoJson

Exception thrown when the type of the property is not correct.

Exception thrown when geometry type is not recognized.

Exception thrown when a mandatory property was not found.

Properties

expect open val cause: Throwable?
val code: Int
expect open val message: String?