Class ConstructorException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DuplicateKeyException

public class ConstructorException extends MarkedYamlEngineException
General exception during construction step
See Also:
  • Constructor Details

    • ConstructorException

      public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark, Throwable cause)
      Create
      Parameters:
      context - - part of the document
      contextMark - - context position
      problem - - the issue
      problemMark - - problem position
      cause - - the reason
    • ConstructorException

      public ConstructorException(String context, Optional<Mark> contextMark, String problem, Optional<Mark> problemMark)
      Create
      Parameters:
      context - - part of the document
      contextMark - - context position
      problem - - the issue
      problemMark - - problem position