Package org.yaml.snakeyaml.constructor
Class ConstructorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.yaml.snakeyaml.error.YAMLException
org.yaml.snakeyaml.error.MarkedYAMLException
org.yaml.snakeyaml.constructor.ConstructorException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DuplicateKeyException
Exception during object construction
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.yaml.snakeyaml.error.MarkedYAMLException
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 Details
-
ConstructorException
protected ConstructorException(String context, Mark contextMark, String problem, Mark problemMark, Throwable cause) Create- Parameters:
context
- - part of the documentcontextMark
- - context positionproblem
- - the issueproblemMark
- - problem positioncause
- - the reason
-
ConstructorException
Create- Parameters:
context
- - part of the documentcontextMark
- - context positionproblem
- - the issueproblemMark
- - problem position
-