FileFormatException

class FileFormatException @JvmOverloads constructor(val expectedFormat: String, val source: URL, cause: Throwable? = null) : RuntimeException

Signals that the content found at source is not valid expectedFormat data, e.g., a file with a .gpx extension that does not contain a valid GPX document. The original failure, if any, is available as cause.

Constructors

Link copied to clipboard
constructor(expectedFormat: String, source: URL, cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
val source: URL