Class ConstructorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.snakeyaml.engine.v2.exceptions.YamlEngineException
-
- org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
-
- org.snakeyaml.engine.v2.exceptions.ConstructorException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateKeyException
public class ConstructorException extends MarkedYamlEngineException
General exception during construction step- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark)CreateConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause)Create
-
Method Summary
-
Methods inherited from class org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
getContext, getContextMark, getMessage, getProblem, getProblemMark, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ConstructorException
public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause)
Create- Parameters:
context- - part of the documentcontextMark- - context positionproblem- - the issueproblemMark- - problem positioncause- - the reason
-
-