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
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConstructorException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)
Createprotected
ConstructorException(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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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
-
-