Documentation of 'org.yaml.snakeyaml.scanner.ScannerException' Java class
ScannerException
org.yaml.snakeyaml.scanner

Class ScannerException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ScannerException
    extends MarkedYAMLException
    Exception thrown by the Scanner implementations in case of malformed input.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ScannerException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark)
      Constructs an instance.
      ScannerException(java.lang.String context, Mark contextMark, java.lang.String problem, Mark problemMark, java.lang.String note)
      Constructs an instance.
    • Method Summary

      • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScannerException

        public ScannerException(java.lang.String context,
                                Mark contextMark,
                                java.lang.String problem,
                                Mark problemMark,
                                java.lang.String note)
        Constructs an instance.
        Parameters:
        context - Part of the input document in which vicinity the problem occurred.
        contextMark - Position of the context within the document.
        problem - Part of the input document that caused the problem.
        problemMark - Position of the problem within the document.
        note - Message for the user with further information about the problem.
      • ScannerException

        public ScannerException(java.lang.String context,
                                Mark contextMark,
                                java.lang.String problem,
                                Mark problemMark)
        Constructs an instance.
        Parameters:
        context - Part of the input document in which vicinity the problem occurred.
        contextMark - Position of the context within the document.
        problem - Part of the input document that caused the problem.
        problemMark - Position of the problem within the document.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.