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 protectedMarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)protectedMarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.String note)protectedMarkedYAMLException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.String note, java.lang.Throwable cause)protectedMarkedYAMLException(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.StringgetContext()MarkgetContextMark()java.lang.StringgetMessage()java.lang.StringgetProblem()MarkgetProblemMark()java.lang.StringtoString()
-
-
-
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:
getMessagein classjava.lang.Throwable
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
getContext
public java.lang.String getContext()
-
getContextMark
public Mark getContextMark()
-
getProblem
public java.lang.String getProblem()
-
getProblemMark
public Mark getProblemMark()
-
-