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
public class ConstructorException extends MarkedYAMLException
Exception during object construction- See Also:
- Serialized Form
-
-
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 Detail
-
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
-
-