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 
    Modifier Constructor Description
    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

    Modifier and Type Method Description
    java.lang.String getContext()  
    Mark getContextMark()  
    java.lang.String getMessage()  
    java.lang.String getProblem()  
    Mark getProblemMark()  
    java.lang.String 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
  • Constructor Details

    • 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 Details

    • getMessage

      public java.lang.String getMessage()
      Overrides:
      getMessage in class java.lang.Throwable
    • 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()