org.yaml.snakeyaml.error
Class MarkedYAMLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.yaml.snakeyaml.error.YAMLException
                  extended by org.yaml.snakeyaml.error.MarkedYAMLException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ComposerException, ConstructorException, ParserException, ScannerException

public class MarkedYAMLException
extends YAMLException

See Also:
Serialized Form

Constructor Summary
protected MarkedYAMLException(String context, Mark contextMark, String problem, Mark problemMark)
           
protected MarkedYAMLException(String context, Mark contextMark, String problem, Mark problemMark, String note)
           
protected MarkedYAMLException(String context, Mark contextMark, String problem, Mark problemMark, String note, Throwable cause)
           
protected MarkedYAMLException(String context, Mark contextMark, String problem, Mark problemMark, Throwable cause)
           
 
Method Summary
 String getContext()
           
 Mark getContextMark()
           
 String getProblem()
           
 Mark getProblemMark()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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(String context,
                              Mark contextMark,
                              String problem,
                              Mark problemMark,
                              String note)

MarkedYAMLException

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

MarkedYAMLException

protected MarkedYAMLException(String context,
                              Mark contextMark,
                              String problem,
                              Mark problemMark)

MarkedYAMLException

protected MarkedYAMLException(String context,
                              Mark contextMark,
                              String problem,
                              Mark problemMark,
                              Throwable cause)
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

getContext

public String getContext()

getContextMark

public Mark getContextMark()

getProblem

public String getProblem()

getProblemMark

public Mark getProblemMark()


Copyright © 2008-2012. All Rights Reserved.