Modifier and Type | Field and Description |
---|---|
protected int |
column |
protected List<String> |
elementIds |
protected int |
line |
protected String |
mainElementId |
protected String |
message |
Constructor and Description |
---|
ProblemImpl(BpmnParseException exception) |
ProblemImpl(BpmnParseException exception,
String elementId) |
ProblemImpl(SAXParseException e) |
ProblemImpl(String errorMessage,
Element element) |
ProblemImpl(String errorMessage,
Element element,
String... elementIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
concatenateErrorMessages(Throwable throwable) |
protected void |
extractElementDetails(Element element) |
int |
getColumn()
The column where the problem occurs
|
List<String> |
getElementIds()
The ids of all involved elements in the problem.
|
int |
getLine()
The line where the problem occurs
|
String |
getMainElementId()
The id of the main element causing the problem.
|
String |
getMessage()
The message of this problem
|
String |
toString() |
protected String message
protected int line
protected int column
protected String mainElementId
public ProblemImpl(SAXParseException e)
public ProblemImpl(BpmnParseException exception)
public ProblemImpl(BpmnParseException exception, String elementId)
protected void concatenateErrorMessages(Throwable throwable)
protected void extractElementDetails(Element element)
public String getMessage()
Problem
getMessage
in interface Problem
public int getLine()
Problem
public int getColumn()
Problem
public String getMainElementId()
Problem
null
in case the element doesn't have an id.getMainElementId
in interface Problem
public List<String> getElementIds()
Problem
getElementIds
in interface Problem
Copyright © 2019. All rights reserved.