Class YAMLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.fasterxml.jackson.core.JacksonException
com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.exc.StreamReadException
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException
com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.YAMLException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarkedYAMLException
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 after should NOT use this type but only base type
JacksonYAMLParseException.- See Also:
-
Field Summary
FieldsFields inherited from class com.fasterxml.jackson.core.exc.StreamReadException
_processor, _requestPayloadFields inherited from class com.fasterxml.jackson.core.JsonProcessingException
_location -
Constructor Summary
ConstructorsConstructorDescriptionYAMLException(com.fasterxml.jackson.core.JsonParser p, org.yaml.snakeyaml.error.YAMLException src) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic YAMLExceptionfrom(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, withRequestPayloadMethods inherited from class com.fasterxml.jackson.core.exc.StreamReadException
_currentLocationMethods inherited from class com.fasterxml.jackson.core.JsonProcessingException
clearLocation, getLocation, getMessageSuffix, getOriginalMessage, toStringMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
-
Constructor Details
-
YAMLException
public YAMLException(com.fasterxml.jackson.core.JsonParser p, org.yaml.snakeyaml.error.YAMLException src) Deprecated.
-
-
Method Details
-
from
public static YAMLException from(com.fasterxml.jackson.core.JsonParser p, org.yaml.snakeyaml.error.YAMLException src) Deprecated.
-