ParserException

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

Exception thrown by the Parser 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, contextMark: Mark?, context: String? = null, problemMark: 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