# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Exceptions
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
Class and Description
com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.Mark Should use basic `JsonLocation` instead

Deprecated Exceptions
Exceptions and Description
com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.MarkedYAMLException Since 2.8
com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.YAMLException Since 2.8

Deprecated Methods
Method and Description
com.fasterxml.jackson.dataformat.yaml.YAMLParser.getCurrentAnchor() Since 2.3 (was added in 2.1) -- use `YAMLParser.getObjectId()` instead

Deprecated Constructors
Constructor and Description
com.fasterxml.jackson.dataformat.yaml.YAMLGenerator(IOContext, int, int, ObjectCodec, Writer, DumperOptions.Version)