ScannerException

class ScannerException @JvmOverloads constructor(val problem: String, val problemMark: Mark?, val context: String? = null, val contextMark: Mark? = null, cause: Throwable? = null) : MarkedYamlEngineException

Exception thrown by the Scanner implementations in case of malformed input.

Parameters

context

Part of the input document in which vicinity the problem occurred.

contextMark

Position of the context within the document.

problem

Part of the input document that caused the problem.

problemMark

Position of the problem within the document.

Constructors

Link copied to clipboard
constructor(problem: String, problemMark: Mark?, context: String? = null, contextMark: Mark? = null, cause: Throwable? = null)

Properties

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