Package org.camunda.bpm.engine.impl.xml
Class ProblemImpl
java.lang.Object
org.camunda.bpm.engine.impl.xml.ProblemImpl
- All Implemented Interfaces:
Problem
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
-
Constructor Summary
ConstructorDescriptionProblemImpl
(String errorMessage, Element element) ProblemImpl
(String errorMessage, Element element, String... elementIds) ProblemImpl
(BpmnParseException exception) ProblemImpl
(BpmnParseException exception, String elementId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
concatenateErrorMessages
(Throwable throwable) protected void
extractElementDetails
(Element element) int
The column where the problem occursThe ids of all involved elements in the problem.int
getLine()
The line where the problem occursThe id of the main element causing the problem.The message of this problemtoString()
-
Field Details
-
message
-
line
protected int line -
column
protected int column -
mainElementId
-
elementIds
-
-
Constructor Details
-
ProblemImpl
-
ProblemImpl
-
ProblemImpl
-
ProblemImpl
-
ProblemImpl
-
-
Method Details
-
concatenateErrorMessages
-
extractElementDetails
-
getMessage
Description copied from interface:Problem
The message of this problem- Specified by:
getMessage
in interfaceProblem
-
getLine
public int getLine()Description copied from interface:Problem
The line where the problem occurs -
getColumn
public int getColumn()Description copied from interface:Problem
The column where the problem occurs -
getMainElementId
Description copied from interface:Problem
The id of the main element causing the problem. It can benull
in case the element doesn't have an id.- Specified by:
getMainElementId
in interfaceProblem
-
getElementIds
Description copied from interface:Problem
The ids of all involved elements in the problem. It can be an empty list in case the elements do not have assigned ids.- Specified by:
getElementIds
in interfaceProblem
-
toString
-