com.kotlinnlp.geolocation.exceptions.Exceptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geolocation Show documentation
Show all versions of geolocation Show documentation
GeoLocation is a Kotlin library designed to support the identification of geo-locations in a text.
/* Copyright 2018-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------------------------------*/
package com.kotlinnlp.geolocation.exceptions
/**
* Raised when a location has not been found in the dictionary.
*/
class LocationNotFound(id: String) : RuntimeException(id)