snakeyaml-engine 2.10
org.snakeyaml.engine.v2.exceptions
ComposerException
Top
Description
Constructors
Methods
org.snakeyaml.engine.v2.exceptions
public
Class ComposerException
extends
MarkedYamlEngineException
Class Inheritance
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.snakeyaml.engine.v2.exceptions.YamlEngineException
org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
org.snakeyaml.engine.v2.exceptions.ComposerException
Imports
java.
util.
Objects
,
.Optional
General exception during composition step
Constructor Summary
Access
Constructor and Description
public
ComposerException
(
String
- part of the document
context
,
Optional
<
Mark
>
- context position
contextMark
,
String
- the issue
problem
,
Optional
<
Mark
>
- the problem location
problemMark
)
Create
public
ComposerException
(
String
- the issue
problem
,
Optional
<
Mark
>
- the problem location
problemMark
)
Create
Method Summary
Inherited from
org.snakeyaml.engine.v2.exceptions.MarkedYamlEngineException
:
getContext
getContextMark
getMessage
getProblem
getProblemMark
toString
Constructor Detail
ComposerException
back to summary
public
ComposerException
(
String
context,
Optional
<
Mark
> contextMark,
String
problem,
Optional
<
Mark
> problemMark
)
Create
Parameters
context:
String
- part of the document
contextMark:
Optional
<
Mark
>
- context position
problem:
String
- the issue
problemMark:
Optional
<
Mark
>
- the problem location
ComposerException
back to summary
public
ComposerException
(
String
problem,
Optional
<
Mark
> problemMark
)
Create
Parameters
problem:
String
- the issue
problemMark:
Optional
<
Mark
>
- the problem location