public class MarkedYamlEngineException extends YamlEngineException
| Modifier | Constructor and Description |
|---|---|
protected |
MarkedYamlEngineException(String context,
Optional<Mark> contextMark,
String problem,
Optional<Mark> problemMark)
Create
|
protected |
MarkedYamlEngineException(String context,
Optional<Mark> contextMark,
String problem,
Optional<Mark> problemMark,
Throwable cause)
Create
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContext()
getter
|
Optional<Mark> |
getContextMark()
getter
|
String |
getMessage()
Getter
|
String |
getProblem()
getter
|
Optional<Mark> |
getProblemMark()
getter
|
String |
toString()
get readable error
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceprotected MarkedYamlEngineException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause)
context - - the context of the problemcontextMark - - position of the contextproblem - - the issueproblemMark - - position of the issuecause - - exception which was thrownprotected MarkedYamlEngineException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark)
context - - the context of the problemcontextMark - - position of the contextproblem - - the issueproblemMark - - position of the issuepublic String getMessage()
getMessage in class Throwablepublic String toString()
public String getContext()
public Optional<Mark> getContextMark()
public String getProblem()
Copyright © 2018–2022. All rights reserved.