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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProblemImpl(String errorMessage, Element element) ProblemImpl(String errorMessage, Element element, String... elementIds) ProblemImpl(BpmnParseException exception) ProblemImpl(BpmnParseException exception, String elementId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconcatenateErrorMessages(Throwable throwable) protected voidextractElementDetails(Element element) intThe column where the problem occursThe ids of all involved elements in the problem.intgetLine()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:ProblemThe message of this problem- Specified by:
getMessagein interfaceProblem
-
getLine
public int getLine()Description copied from interface:ProblemThe line where the problem occurs -
getColumn
public int getColumn()Description copied from interface:ProblemThe column where the problem occurs -
getMainElementId
Description copied from interface:ProblemThe id of the main element causing the problem. It can benullin case the element doesn't have an id.- Specified by:
getMainElementIdin interfaceProblem
-
getElementIds
Description copied from interface:ProblemThe 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:
getElementIdsin interfaceProblem
-
toString
-