| 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()
ProblemgetMessage in interface Problempublic int getLine()
Problempublic int getColumn()
Problempublic String getMainElementId()
Problemnull in case the element doesn't have an id.getMainElementId in interface Problempublic List<String> getElementIds()
ProblemgetElementIds in interface ProblemCopyright © 2021. All rights reserved.