Class YAMLException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    MarkedYAMLException

    @Deprecated
    public class YAMLException
    extends JacksonYAMLParseException
    Deprecated.
    Since 2.8
    Replacement for formerly shaded exception type from SnakeYAML; included in 2.8 solely for backwards compatibility: new code that relies on Jackson 2.8 and alter should NOT use this type but only base type YAMLException.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Deprecated.
       
      • Fields inherited from class com.fasterxml.jackson.core.exc.StreamReadException

        _processor, _requestPayload
      • Fields inherited from class com.fasterxml.jackson.core.JsonProcessingException

        _location
    • Constructor Summary

      Constructors 
      Constructor Description
      YAMLException​(com.fasterxml.jackson.core.JsonParser p, org.yaml.snakeyaml.error.YAMLException src)
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static YAMLException from​(com.fasterxml.jackson.core.JsonParser p, org.yaml.snakeyaml.error.YAMLException src)
      Deprecated.
       
      • Methods inherited from class com.fasterxml.jackson.core.JsonParseException

        getMessage, getProcessor, getRequestPayload, getRequestPayloadAsString, withParser, withRequestPayload
      • Methods inherited from class com.fasterxml.jackson.core.JsonProcessingException

        clearLocation, getLocation, getMessageSuffix, getOriginalMessage, toString
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • YAMLException

        public YAMLException​(com.fasterxml.jackson.core.JsonParser p,
                             org.yaml.snakeyaml.error.YAMLException src)
        Deprecated.
    • Method Detail

      • from

        public static YAMLException from​(com.fasterxml.jackson.core.JsonParser p,
                                         org.yaml.snakeyaml.error.YAMLException src)
        Deprecated.