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:
java.io.Serializable
- Direct Known Subclasses:
DuplicateKeyException
public class ConstructorException extends MarkedYAMLException
Exception during object construction- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConstructorException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)CreateprotectedConstructorException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.Throwable cause)Create
-
Method Summary
-
Methods inherited from class org.yaml.snakeyaml.error.MarkedYAMLException
getContext, getContextMark, getMessage, getProblem, getProblemMark, toString
-
-
-
-
Constructor Detail
-
ConstructorException
protected ConstructorException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.Throwable cause)Create- Parameters:
context- - part of the documentcontextMark- - context positionproblem- - the issueproblemMark- - problem positioncause- - the reason
-
-