Class YamlVersionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class YamlVersionException
    extends YamlEngineException
    Indication of invalid YAML version
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SpecVersion getSpecVersion()
      getter
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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