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
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
context
private Mark
contextMark
private java.lang.String
note
private java.lang.String
problem
private Mark
problemMark
private static long
serialVersionUID
-
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()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
context
private java.lang.String context
-
contextMark
private Mark contextMark
-
problem
private java.lang.String problem
-
problemMark
private Mark problemMark
-
note
private java.lang.String note
-
-
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()
-
-