Class YamlVersionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.snakeyaml.engine.v2.exceptions.YamlEngineException
-
- org.snakeyaml.engine.v2.exceptions.YamlVersionException
-
- All Implemented Interfaces:
java.io.Serializable
public class YamlVersionException extends YamlEngineException
Indication of invalid YAML version- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private SpecVersion
specVersion
specified version
-
Constructor Summary
Constructors Constructor Description YamlVersionException(SpecVersion specVersion)
Create
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpecVersion
getSpecVersion()
getter
-
-
-
Field Detail
-
specVersion
private final SpecVersion specVersion
specified version
-
-
Constructor Detail
-
YamlVersionException
public YamlVersionException(SpecVersion specVersion)
Create- Parameters:
specVersion
- - the version
-
-
Method Detail
-
getSpecVersion
public SpecVersion getSpecVersion()
getter- Returns:
- its version
-
-