Package 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 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
All Methods Instance Methods Concrete Methods 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()
-
-
-
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)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
getContext
public java.lang.String getContext()
-
getContextMark
public Mark getContextMark()
-
getProblem
public java.lang.String getProblem()
-
getProblemMark
public Mark getProblemMark()
-
-