org.yaml.snakeyaml.error

## Class MarkedYAMLException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.yaml.snakeyaml.error.YAMLException
        - - org.yaml.snakeyaml.error.MarkedYAMLException

All Implemented Interfaces:
  java.io.Serializable

Direct Known Subclasses:
  ComposerException, ConstructorException, ParserException, ScannerException

    public class MarkedYAMLException
    extends YAMLException

See Also:
  Serialized Form

### Constructor Summary

Constructors
`protected` `MarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)`
`protected` `MarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.String note)`
`protected` `MarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.String note, java.lang.Throwable cause)`
`protected` `MarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.Throwable cause)`

### Method Summary

Methods
`java.lang.String` `getContext()`
`Mark` `getContextMark()`
`java.lang.String` `getProblem()`
`Mark` `getProblemMark()`
`java.lang.String` `toString()`

### Methods inherited from class java.lang.Throwable

`addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Constructor Detail

#### MarkedYAMLException

    protected MarkedYAMLException(java.lang.String context,
                       Mark contextMark,
                       java.lang.String problem,
                       Mark problemMark,
                       java.lang.String note)

#### MarkedYAMLException

    protected MarkedYAMLException(java.lang.String context,
                       Mark contextMark,
                       java.lang.String problem,
                       Mark problemMark,
                       java.lang.String note,
                       java.lang.Throwable cause)

#### MarkedYAMLException

    protected MarkedYAMLException(java.lang.String context,
                       Mark contextMark,
                       java.lang.String problem,
                       Mark problemMark)

#### MarkedYAMLException

    protected MarkedYAMLException(java.lang.String context,
                       Mark contextMark,
                       java.lang.String problem,
                       Mark problemMark,
                       java.lang.Throwable cause)

### Method Detail

#### toString

    public java.lang.String toString()

Overrides:
  `toString` in class `java.lang.Throwable`

#### getContext

    public java.lang.String getContext()

#### getContextMark

    public Mark getContextMark()

#### getProblem

    public java.lang.String getProblem()

#### getProblemMark

    public Mark getProblemMark()