Code smells are defined as symptom s in the program source code which are usually not bugs or technically incorrect but indicates a possible deeper problem. Anti-patterns are counterparts of design patterns and are defined as mistakes during software development that produces negative consequences and is ineffective or counter-productive. During program execution, error events can occur that disrupts the normal flow of the program. Programming languages provide exception handling mechanism to developers for handling errors and exception events.
I mined the source-code for automatically detecting 10 exception handling anti-patterns (https://today.java.net/article/2006/04/04/exception-handling-antipatterns). In this issue report, I list the exception handling anti-patterns and code-smells that I found in the source code. My experimental results demonstrate presence of various exception handling anti-patterns and throw light on their intensity. I believe my tool for automatic detection of anti-patterns in source code and the attached results can be useful to programmers by helping them correct mistakes and write effective code.
1 Mining Source Code for Automatically Discovering Exception Management Anti-Patterns and Code Smell
2 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\AssociationXMLConverter.java
3 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
4 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
5 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\AssociationXMLConverter.java
6 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
7 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
8 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\AssociationXMLConverter.java
9 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
10 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
11 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BaseBpmnXMLConverter.java
12 METHOD NAME : convertToBpmnModel(XMLStreamReader xtr,BpmnModel model,Process activeProcess,List activeSubProcessList) throws Exception
13 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
14 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BaseBpmnXMLConverter.java
15 METHOD NAME : convertToXML(XMLStreamWriter xtw,BaseElement baseElement,BpmnModel model) throws Exception
16 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
17 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BaseBpmnXMLConverter.java
18 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BoundaryEventXMLConverter.java
19 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
20 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
21 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BoundaryEventXMLConverter.java
22 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
23 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
24 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BoundaryEventXMLConverter.java
25 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
26 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
27 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
28 METHOD NAME : validateModel(InputStreamProvider inputStreamProvider) throws Exception
29 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
30 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
31 METHOD NAME : validateModel(XMLStreamReader xmlStreamReader) throws Exception
32 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
33 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
34 CATCH CLAUSE : catch (Exception e) {
throw new RuntimeException("Could not validate XML with BPMN 2.0 XSD",e);
}
35 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
36 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
37 CATCH CLAUSE : catch (Exception e) {
LOGGER.debug("Error reading XML document",e);
throw new XMLException("Error reading XML",e);
}
38 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
39 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
40 CATCH CLAUSE : catch (Exception e) {
LOGGER.error("Error processing BPMN document",e);
throw new XMLException("Error processing BPMN document",e);
}
41 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
42 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
43 CATCH CLAUSE : catch (Exception e) {
LOGGER.error("Error writing BPMN XML",e);
throw new XMLException("Error writing BPMN XML",e);
}
44 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
45 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
46 METHOD NAME : createXML(FlowElement flowElement,BpmnModel model,XMLStreamWriter xtw) throws Exception
47 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
48 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BpmnXMLConverter.java
49 METHOD NAME : createXML(Artifact artifact,BpmnModel model,XMLStreamWriter xtw) throws Exception
50 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
51 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BusinessRuleTaskXMLConverter.java
52 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
53 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
54 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BusinessRuleTaskXMLConverter.java
55 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
56 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
57 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\BusinessRuleTaskXMLConverter.java
58 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
59 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
60 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
61 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
62 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
63 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
64 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
65 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
66 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
67 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
68 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
69 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
70 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
71 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
72 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
73 METHOD NAME : writeIOParameters(String elementName,List parameterList,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
74 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
75 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
76 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
77 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
78 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CallActivityXMLConverter.java
79 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
80 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
81 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CatchEventXMLConverter.java
82 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
83 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
84 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CatchEventXMLConverter.java
85 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
86 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
87 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\CatchEventXMLConverter.java
88 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
89 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
90 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\ActivitiEventListenerParser.java
91 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
92 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
93 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\ActivitiListenerParser.java
94 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
95 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
96 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\BaseChildElementParser.java
97 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\CancelEventDefinitionParser.java
98 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
99 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
100 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\CompensateEventDefinitionParser.java
101 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
102 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
103 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\ConditionExpressionParser.java
104 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
105 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
106 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\DataAssociationParser.java
107 CATCH CLAUSE : catch (Exception e) {
LOGGER.log(Level.WARNING,"Error parsing data association child elements",e);
}
108 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
109 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\DataInputAssociationParser.java
110 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
111 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
112 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\DataOutputAssociationParser.java
113 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
114 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
115 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\DocumentationParser.java
116 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
117 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
118 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\ErrorEventDefinitionParser.java
119 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
120 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
121 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\FieldExtensionParser.java
122 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
123 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
124 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\FieldExtensionParser.java
125 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error parsing field extension child elements",e);
}
126 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
127 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\FlowNodeRefParser.java
128 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
129 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
130 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\FormPropertyParser.java
131 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
132 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
133 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\FormPropertyParser.java
134 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error parsing form properties child elements",e);
}
135 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
136 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\IOSpecificationParser.java
137 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
138 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
139 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\IOSpecificationParser.java
140 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error parsing ioSpecification child elements",e);
}
141 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
142 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\MessageEventDefinitionParser.java
143 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
144 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
145 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\MultiInstanceParser.java
146 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
147 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
148 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\MultiInstanceParser.java
149 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error parsing multi instance definition",e);
}
150 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
151 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\ScriptTextParser.java
152 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
153 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
154 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\SignalEventDefinitionParser.java
155 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
156 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
157 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TerminateEventDefinitionParser.java
158 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
159 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
160 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TextAnnotationTextParser.java
161 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
162 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
163 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TimeCycleParser.java
164 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
165 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
166 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TimeDateParser.java
167 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
168 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
169 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TimeDurationParser.java
170 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
171 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
172 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\child\TimerEventDefinitionParser.java
173 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
174 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
175 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EndEventXMLConverter.java
176 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
177 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
178 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EndEventXMLConverter.java
179 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
180 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
181 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EndEventXMLConverter.java
182 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
183 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
184 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EventGatewayXMLConverter.java
185 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
186 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
187 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EventGatewayXMLConverter.java
188 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
189 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
190 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\EventGatewayXMLConverter.java
191 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
192 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
193 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ExclusiveGatewayXMLConverter.java
194 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
195 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
196 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ExclusiveGatewayXMLConverter.java
197 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
198 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
199 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ExclusiveGatewayXMLConverter.java
200 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
201 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
202 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\ActivitiListenerExport.java
203 METHOD NAME : writeListeners(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
204 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
205 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\ActivitiListenerExport.java
206 METHOD NAME : writeEventListeners(List eventListeners,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
207 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
208 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\ActivitiListenerExport.java
209 METHOD NAME : writeListeners(String xmlElementName,List listenerList,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
210 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
211 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\BPMNDIExport.java
212 METHOD NAME : writeBPMNDI(BpmnModel model,XMLStreamWriter xtw) throws Exception
213 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
214 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\DefinitionsRootExport.java
215 METHOD NAME : writeRootElement(BpmnModel model,XMLStreamWriter xtw,String encoding) throws Exception
216 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
217 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\FieldExtensionExport.java
218 METHOD NAME : writeFieldExtensions(List fieldExtensionList,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
219 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
220 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\LaneExport.java
221 METHOD NAME : writeLanes(Process process,XMLStreamWriter xtw) throws Exception
222 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
223 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\MultiInstanceExport.java
224 METHOD NAME : writeMultiInstance(Activity activity,XMLStreamWriter xtw) throws Exception
225 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
226 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\PoolExport.java
227 METHOD NAME : writePools(BpmnModel model,XMLStreamWriter xtw) throws Exception
228 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
229 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\ProcessExport.java
230 METHOD NAME : writeProcess(Process process,XMLStreamWriter xtw) throws Exception
231 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
232 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\export\SignalAndMessageDefinitionExport.java
233 METHOD NAME : writeSignalsAndMessages(BpmnModel model,XMLStreamWriter xtw) throws Exception
234 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
235 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\InclusiveGatewayXMLConverter.java
236 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
237 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
238 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\InclusiveGatewayXMLConverter.java
239 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
240 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
241 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\InclusiveGatewayXMLConverter.java
242 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
243 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
244 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ManualTaskXMLConverter.java
245 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
246 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
247 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ManualTaskXMLConverter.java
248 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
249 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
250 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ManualTaskXMLConverter.java
251 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
252 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
253 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ParallelGatewayXMLConverter.java
254 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
255 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
256 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ParallelGatewayXMLConverter.java
257 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
258 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
259 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ParallelGatewayXMLConverter.java
260 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
261 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
262 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\BpmnEdgeParser.java
263 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
264 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
265 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\BpmnShapeParser.java
266 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
267 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
268 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\DefinitionsParser.java
269 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
270 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
271 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\ExtensionElementsParser.java
272 METHOD NAME : parse(XMLStreamReader xtr,List activeSubProcessList,Process activeProcess,BpmnModel model) throws Exception
273 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
274 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\ImportParser.java
275 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
276 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
277 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\InterfaceParser.java
278 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
279 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
280 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\InterfaceParser.java
281 CATCH CLAUSE : catch (Exception e) {
LOGGER.log(Level.WARNING,"Error parsing interface child elements",e);
}
282 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
283 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\ItemDefinitionParser.java
284 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
285 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
286 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\LaneParser.java
287 METHOD NAME : parse(XMLStreamReader xtr,Process activeProcess,BpmnModel model) throws Exception
288 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
289 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\MessageParser.java
290 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
291 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
292 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\PotentialStarterParser.java
293 METHOD NAME : parse(XMLStreamReader xtr,Process activeProcess) throws Exception
294 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
295 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\ProcessParser.java
296 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
297 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
298 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\parser\SignalParser.java
299 METHOD NAME : parse(XMLStreamReader xtr,BpmnModel model) throws Exception
300 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
301 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ReceiveTaskXMLConverter.java
302 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
303 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
304 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ReceiveTaskXMLConverter.java
305 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
306 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
307 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ReceiveTaskXMLConverter.java
308 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
309 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
310 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ScriptTaskXMLConverter.java
311 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
312 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
313 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ScriptTaskXMLConverter.java
314 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
315 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
316 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ScriptTaskXMLConverter.java
317 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
318 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
319 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SendTaskXMLConverter.java
320 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
321 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
322 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SendTaskXMLConverter.java
323 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
324 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
325 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SendTaskXMLConverter.java
326 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
327 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
328 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SendTaskXMLConverter.java
329 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
330 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
331 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SequenceFlowXMLConverter.java
332 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
333 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
334 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SequenceFlowXMLConverter.java
335 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
336 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
337 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\SequenceFlowXMLConverter.java
338 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
339 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
340 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ServiceTaskXMLConverter.java
341 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
342 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
343 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ServiceTaskXMLConverter.java
344 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
345 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
346 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ServiceTaskXMLConverter.java
347 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
348 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
349 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ServiceTaskXMLConverter.java
350 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
351 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
352 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\StartEventXMLConverter.java
353 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
354 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
355 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\StartEventXMLConverter.java
356 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
357 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
358 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\StartEventXMLConverter.java
359 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
360 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
361 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\StartEventXMLConverter.java
362 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
363 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
364 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TaskXMLConverter.java
365 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
366 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
367 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TaskXMLConverter.java
368 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
369 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
370 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TaskXMLConverter.java
371 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
372 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
373 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TextAnnotationXMLConverter.java
374 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
375 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
376 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TextAnnotationXMLConverter.java
377 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
378 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
379 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\TextAnnotationXMLConverter.java
380 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
381 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
382 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ThrowEventXMLConverter.java
383 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
384 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
385 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ThrowEventXMLConverter.java
386 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
387 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
388 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ThrowEventXMLConverter.java
389 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
390 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
391 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
392 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
393 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
394 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
395 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
396 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
397 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
398 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
399 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
400 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
401 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
402 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
403 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
404 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
405 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
406 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\UserTaskXMLConverter.java
407 METHOD NAME : parseChildElement(XMLStreamReader xtr,BaseElement parentElement,BpmnModel model) throws Exception
408 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
409 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
410 METHOD NAME : parseChildElements(String elementName,BaseElement parentElement,XMLStreamReader xtr,BpmnModel model) throws Exception
411 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
412 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
413 METHOD NAME : parseChildElements(String elementName,BaseElement parentElement,XMLStreamReader xtr,Map<String,BaseChildElementParser> childParsers,BpmnModel model) throws Exception
414 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
415 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
416 METHOD NAME : parseExtensionElement(XMLStreamReader xtr) throws Exception
417 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
418 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
419 METHOD NAME : writeDefaultAttribute(String attributeName,String value,XMLStreamWriter xtw) throws Exception
420 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
421 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
422 METHOD NAME : writeQualifiedAttribute(String attributeName,String value,XMLStreamWriter xtw) throws Exception
423 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
424 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
425 METHOD NAME : writeExtensionElements(BaseElement baseElement,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
426 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
427 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\util\BpmnXMLUtil.java
428 METHOD NAME : writeExtensionElement(ExtensionElement extensionElement,Map<String,String> namespaceMap,XMLStreamWriter xtw) throws Exception
429 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
430 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ValuedDataObjectXMLConverter.java
431 METHOD NAME : convertXMLToElement(XMLStreamReader xtr,BpmnModel model) throws Exception
432 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
433 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ValuedDataObjectXMLConverter.java
434 METHOD NAME : writeAdditionalAttributes(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
435 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
436 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ValuedDataObjectXMLConverter.java
437 METHOD NAME : writeExtensionChildElements(BaseElement element,boolean didWriteExtensionStartElement,XMLStreamWriter xtw) throws Exception
438 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
439 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\ValuedDataObjectXMLConverter.java
440 METHOD NAME : writeAdditionalChildElements(BaseElement element,BpmnModel model,XMLStreamWriter xtw) throws Exception
441 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
442 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\XMLStreamReaderUtil.java
443 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error while moving down in XML document",e);
}
444 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
445 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\main\java\org\activiti\bpmn\converter\XMLStreamReaderUtil.java
446 CATCH CLAUSE : catch (Exception e) {
LOGGER.warn("Error while moving to end of element {}",elementName,e);
}
447 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
448 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\AbstractConverterTest.java
449 METHOD NAME : readXMLFile() throws Exception
450 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
451 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\AbstractConverterTest.java
452 METHOD NAME : exportAndReadXMLFile(BpmnModel bpmnModel) throws Exception
453 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
454 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CallActivityConverterTest.java
455 METHOD NAME : connvertXMLToModel() throws Exception
456 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
457 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CallActivityConverterTest.java
458 METHOD NAME : convertModelToXML() throws Exception
459 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
460 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ChineseConverterTest.java
461 METHOD NAME : connvertXMLToModel() throws Exception
462 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
463 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ChineseConverterTest.java
464 METHOD NAME : convertModelToXML() throws Exception
465 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
466 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CompleteConverterTest.java
467 METHOD NAME : connvertXMLToModel() throws Exception
468 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
469 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CompleteConverterTest.java
470 METHOD NAME : convertModelToXML() throws Exception
471 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
472 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CustomExtensionsConverterTest.java
473 METHOD NAME : convertXMLToModel() throws Exception
474 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
475 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CustomExtensionsConverterTest.java
476 METHOD NAME : convertModelToXML() throws Exception
477 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
478 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CustomNamespaceAttributeConverterTest.java
479 METHOD NAME : convertXMLToModel() throws Exception
480 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
481 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\CustomNamespaceAttributeConverterTest.java
482 METHOD NAME : convertModelToXML() throws Exception
483 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
484 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\DataObjectConverterTest.java
485 METHOD NAME : convertXMLToModel() throws Exception
486 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
487 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\DataObjectConverterTest.java
488 METHOD NAME : convertModelToXML() throws Exception
489 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
490 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EmptyModelTest.java
491 METHOD NAME : connvertXMLToModel() throws Exception
492 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
493 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EmptyModelTest.java
494 METHOD NAME : convertModelToXML() throws Exception
495 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
496 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EncodingConverterTest.java
497 METHOD NAME : connvertXMLToModel() throws Exception
498 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
499 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EncodingConverterTest.java
500 METHOD NAME : convertModelToXML() throws Exception
501 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
502 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EventBasedGatewayConverterTest.java
503 METHOD NAME : connvertXMLToModel() throws Exception
504 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
505 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\EventListenerConverterTest.java
506 METHOD NAME : connvertXMLToModel() throws Exception
507 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
508 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\FormPropertiesConverterTest.java
509 METHOD NAME : connvertJsonToModel() throws Exception
510 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
511 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\FormPropertiesConverterTest.java
512 METHOD NAME : doubleConversionValidation() throws Exception
513 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
514 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\InCompleteSignalConverterTest.java
515 METHOD NAME : convertXMLToModel() throws Exception
516 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
517 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\NotExecutableConverterTest.java
518 METHOD NAME : connvertXMLToModel() throws Exception
519 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
520 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\NotExecutableConverterTest.java
521 METHOD NAME : convertModelToXML() throws Exception
522 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
523 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\OtherToolImportConverterTest.java
524 METHOD NAME : connvertXMLToModel() throws Exception
525 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
526 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\OtherToolImportConverterTest.java
527 METHOD NAME : convertModelToXML() throws Exception
528 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
529 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\PoolsConverterTest.java
530 METHOD NAME : connvertXMLToModel() throws Exception
531 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
532 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\PoolsConverterTest.java
533 METHOD NAME : convertModelToXML() throws Exception
534 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
535 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ScopedConverterTest.java
536 METHOD NAME : connvertXMLToModel() throws Exception
537 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
538 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ScopedConverterTest.java
539 METHOD NAME : convertModelToXML() throws Exception
540 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
541 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ServiceTaskConverterTest.java
542 METHOD NAME : connvertXMLToModel() throws Exception
543 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
544 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ServiceTaskConverterTest.java
545 METHOD NAME : convertModelToXML() throws Exception
546 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
547 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\SimpleConverterTest.java
548 METHOD NAME : connvertXMLToModel() throws Exception
549 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
550 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\SimpleConverterTest.java
551 METHOD NAME : convertModelToXML() throws Exception
552 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
553 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\SubProcessConverterTest.java
554 METHOD NAME : connvertXMLToModel() throws Exception
555 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
556 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\SubProcessConverterTest.java
557 METHOD NAME : convertModelToXML() throws Exception
558 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
559 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\TextAnnotationConverterTest.java
560 METHOD NAME : connvertXMLToModel() throws Exception
561 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
562 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\TextAnnotationConverterTest.java
563 METHOD NAME : convertModelToXML() throws Exception
564 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
565 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\UserTaskConverterTest.java
566 METHOD NAME : connvertXMLToModel() throws Exception
567 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
568 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\UserTaskConverterTest.java
569 METHOD NAME : convertModelToXML() throws Exception
570 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
571 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ValuedDataObjectConverterTest.java
572 METHOD NAME : convertXMLToModel() throws Exception
573 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
574 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ValuedDataObjectConverterTest.java
575 METHOD NAME : convertModelToXML() throws Exception
576 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
577 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ValuedDataObjectWithExtensionsConverterTest.java
578 METHOD NAME : convertXMLToModel() throws Exception
579 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
580 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\editor\language\xml\ValuedDataObjectWithExtensionsConverterTest.java
581 METHOD NAME : convertModelToXML() throws Exception
582 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
583 FILE NAME : Activiti-master\modules\activiti-bpmn-converter\src\test\java\org\activiti\validation\ProcessValidationTest.java
584 METHOD NAME : parseXml() throws Exception
585 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
586 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiComponent.java
587 METHOD NAME : createEndpoint(String s,String s1,Map<String,Object> stringObjectMap) throws Exception
588 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
589 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiConsumer.java
590 METHOD NAME : doStart() throws Exception
591 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
592 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiConsumer.java
593 METHOD NAME : doStop() throws Exception
594 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
595 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiEndpoint.java
596 METHOD NAME : process(Exchange ex) throws Exception
597 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
598 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiEndpoint.java
599 METHOD NAME : createProducer() throws Exception
600 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
601 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiEndpoint.java
602 METHOD NAME : createConsumer(Processor processor) throws Exception
603 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
604 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\ActivitiProducer.java
605 METHOD NAME : process(Exchange exchange) throws Exception
606 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
607 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\CamelBehavior.java
608 METHOD NAME : execute(ActivityExecution execution) throws Exception
609 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
610 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\CamelBehavior.java
611 CATCH CLAUSE : catch (Exception e) {
throw new RuntimeException("Unable to process camel endpint asynchronously.");
}
612 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
613 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\CamelBehavior.java
614 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Expecting a SpringProcessEngineConfiguration for the Activiti Camel module.",e);
}
615 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
616 FILE NAME : Activiti-master\modules\activiti-camel\src\main\java\org\activiti\camel\CamelBehaviour.java
617 METHOD NAME : execute(ActivityExecution execution) throws Exception
618 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
619 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\AsyncPingTest.java
620 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\AsyncProcessTest.java
621 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\CamelVariableBodyMapTest.java
622 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\CamelVariableBodyTest.java
623 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\CustomContextTest.java
624 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\EmptyProcessTest.java
625 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\error\route\InboundErrorRoute.java
626 METHOD NAME : configure() throws Exception
627 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
628 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\error\route\OutboundErrorRoute.java
629 METHOD NAME : configure() throws Exception
630 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
631 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\ErrorHandlingTest.java
632 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\examples\pingPong\PingPongRoute.java
633 METHOD NAME : configure() throws Exception
634 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
635 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\examples\pingPong\SaveOutput.java
636 METHOD NAME : execute(DelegateExecution execution) throws Exception
637 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
638 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\examples\simpleCamelCall\SimpleCamelCallRoute.java
639 METHOD NAME : configure() throws Exception
640 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
641 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\MultipleInstanceRoute.java
642 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\ParallelProcessTest.java
643 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\revisited\AsyncProcessRevisitedTest.java
644 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\revisited\ParallelProcessRevisitedTest.java
645 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\AsyncCamelRoute.java
646 METHOD NAME : configure() throws Exception
647 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
648 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\AsyncPingRoute.java
649 METHOD NAME : configure() throws Exception
650 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
651 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\EmptyCamelRoute.java
652 METHOD NAME : configure() throws Exception
653 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
654 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\MultipleInstanceCamelRoute.java
655 METHOD NAME : configure() throws Exception
656 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
657 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\ParallelCamelRoute.java
658 METHOD NAME : configure() throws Exception
659 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
660 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\revisited\AsyncCamelRouteRevisted.java
661 METHOD NAME : configure() throws Exception
662 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
663 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\revisited\ParallelCamelRoute.java
664 METHOD NAME : configure() throws Exception
665 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
666 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\route\SampleCamelRoute.java
667 METHOD NAME : configure() throws Exception
668 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
669 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\SimpleProcessTest.java
670 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\SimpleSpringProcessTest.java
671 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\util\DummyExecutionListener.java
672 METHOD NAME : notify(DelegateExecution execution) throws Exception
673 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
674 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\util\DummyJavaDelegate.java
675 METHOD NAME : execute(DelegateExecution execution) throws Exception
676 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
677 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\util\InitDelegate.java
678 METHOD NAME : execute(DelegateExecution execution) throws Exception
679 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
680 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\util\SleepBean.java
681 METHOD NAME : sleep(String body,Exchange exchange) throws Exception
682 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
683 FILE NAME : Activiti-master\modules\activiti-camel\src\test\java\org\activiti\camel\util\TestJoinDelegate.java
684 METHOD NAME : execute(DelegateExecution execution) throws Exception
685 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
686 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\ActivitiExtension.java
687 CATCH CLAUSE : catch (Exception e) {
event.addDeploymentProblem(e);
}
688 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
689 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\annotation\CompleteTaskInterceptor.java
690 METHOD NAME : invoke(InvocationContext ctx) throws Exception
691 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
692 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\annotation\CompleteTaskInterceptor.java
693 CATCH CLAUSE : catch (InvocationTargetException e) {
throw new ActivitiCdiException("Error while completing task: " + e.getCause().getMessage(),e.getCause());
}
694 ANTI-PATTERN WEPG : Wrapping the exception and passing getMessage() destroys the stack trace of original exception
695 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\annotation\StartProcessInterceptor.java
696 METHOD NAME : invoke(InvocationContext ctx) throws Exception
697 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
698 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\annotation\StartProcessInterceptor.java
699 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while starting process using @StartProcess on method '" + ctx.getMethod() + "': "+ e.getMessage(),e);
}
700 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
701 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\annotation\StartProcessInterceptor.java
702 METHOD NAME : extractVariables(StartProcess startProcessAnnotation,InvocationContext ctx) throws Exception
703 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
704 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\event\CdiExecutionListener.java
705 METHOD NAME : notify(DelegateExecution execution) throws Exception
706 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
707 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\event\CdiExecutionListener.java
708 CATCH CLAUSE : catch (Exception e) {
return;
}
709 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
710 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\event\CdiTaskListener.java
711 CATCH CLAUSE : catch (Exception e) {
return;
}
712 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
713 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\LocalProcessEngineLookup.java
714 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Unable to close the local ProcessEngine",e);
}
715 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
716 FILE NAME : Activiti-master\modules\activiti-cdi\src\main\java\org\activiti\cdi\impl\ProcessDeployer.java
717 CATCH CLAUSE : catch (Exception e) {
logger.error("could not parse file '{}'. {}",PROCESSES_FILE_NAME,e.getMessage(),e);
}
718 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
719 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\api\BusinessProcessBeanTest.java
720 METHOD NAME : test() throws Exception
721 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
722 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\bpmn\SignalEventTest.java
723 METHOD NAME : execute(DelegateExecution execution) throws Exception
724 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
725 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\CdiActivitiTestCase.java
726 METHOD NAME : setUp() throws Exception
727 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
728 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\CdiActivitiTestCase.java
729 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Exception while waiting on condition: " + e.getMessage(),e);
}
730 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
731 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\impl\context\BusinessProcessContextTest.java
732 METHOD NAME : testResolution() throws Exception
733 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
734 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\impl\context\BusinessProcessContextTest.java
735 METHOD NAME : testResolutionBeforeProcessStart() throws Exception
736 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
737 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\impl\context\BusinessProcessContextTest.java
738 METHOD NAME : testConversationalBeanStoreFlush() throws Exception
739 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
740 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\impl\context\BusinessProcessContextTest.java
741 METHOD NAME : testChangeProcessScopedBeanProperty() throws Exception
742 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
743 FILE NAME : Activiti-master\modules\activiti-cdi\src\test\java\org\activiti\cdi\test\impl\el\ElTest.java
744 METHOD NAME : testSetBeanProperty() throws Exception
745 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
746 FILE NAME : Activiti-master\modules\activiti-common-rest\src\main\java\org\activiti\rest\common\api\RequestUtil.java
747 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiIllegalArgumentException("Failed to parse date " + input);
}
748 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
749 FILE NAME : Activiti-master\modules\activiti-common-rest\src\main\java\org\activiti\rest\common\api\RequestUtil.java
750 CATCH CLAUSE : catch (Exception e) {
}
751 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
752 FILE NAME : Activiti-master\modules\activiti-common-rest\src\main\java\org\activiti\rest\common\api\RequestUtil.java
753 CATCH CLAUSE : catch (Exception e) {
}
754 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
755 FILE NAME : Activiti-master\modules\activiti-common-rest\src\main\java\org\activiti\rest\common\servlet\ActivitiServletContextListener.java
756 CATCH CLAUSE : catch (Exception e) {
LOGGER.error("Error starting the Activiti REST API",e);
}
757 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
758 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\process\SimulationRunTask.java
759 METHOD NAME : execute(DelegateExecution execution) throws Exception
760 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
761 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\AbstractSimulationRun.java
762 METHOD NAME : execute(VariableScope execution) throws Exception
763 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
764 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\delegate\AbstractSimulationActivityBehavior.java
765 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\impl\clock\ThreadLocalClock.java
766 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Unable to get simulation clock",e);
}
767 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
768 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\impl\ScriptEventHandler.java
769 CATCH CLAUSE : catch (ActivitiException e) {
log.warn("Exception while executing simulation event " + event + " scriptPropertyName :"+ this.scriptPropertyName+ "\n script: "+ event.getProperty(this.scriptPropertyName)+ "\n exception is:"+ e.getMessage());
throw e;
}
770 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
771 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\SimpleSimulationRun.java
772 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Unable to initialize simulation run",e);
}
773 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
774 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\SimpleSimulationRunFactory.java
775 METHOD NAME : getObject() throws Exception
776 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
777 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\SimulationEvent.java
778 METHOD NAME : getObject() throws Exception
779 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
780 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\crystalball\simulator\SimulationRun.java
781 FILE NAME : Activiti-master\modules\activiti-crystalball\src\main\java\org\activiti\engine\impl\jobexecutor\SimulationAcquireJobsRunnable.java
782 CATCH CLAUSE : catch (Exception e) {
if (log.isLoggable(Level.SEVERE)) {
log.log(Level.SEVERE,"exception during job acquisition: " + e.getMessage(),e);
}
millisToWait*=waitIncreaseFactor;
if (millisToWait > maxWait) {
millisToWait=maxWait;
}
else if (millisToWait == 0) {
millisToWait=jobExecutor.getWaitTimeInMillis();
}
}
783 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
784 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\MultiInstanceScriptEventHandlerTest.java
785 METHOD NAME : testSequentialSimulationRun() throws Exception
786 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
787 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
788 CATCH CLAUSE : catch (AssertionFailedError e) {
log.warn("Playback simulation {} has failed",getName());
log.error(EMPTY_LINE);
log.error("ASSERTION FAILED: {}",e,e);
exception=e;
throw e;
}
789 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
790 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
791 CATCH CLAUSE : catch (AssertionFailedError e) {
log.warn("Playback simulation {} has failed",getName());
log.error(EMPTY_LINE);
log.error("ASSERTION FAILED: {}",e,e);
exception=e;
throw e;
}
792 ANTI-PATTERN MLLM : Using multi-line log messages causes problems when multiple threads are running in parallel, two log messages may end up spaced-out multiple lines apart in the log file, group together all log messages, regardless of the level
793 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
794 CATCH CLAUSE : catch (Throwable e) {
log.warn("Playback simulation {} has failed",getName());
log.error(EMPTY_LINE);
log.error("EXCEPTION: {}",e,e);
exception=e;
throw e;
}
795 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
796 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
797 CATCH CLAUSE : catch (Throwable e) {
log.warn("Playback simulation {} has failed",getName());
log.error(EMPTY_LINE);
log.error("EXCEPTION: {}",e,e);
exception=e;
throw e;
}
798 ANTI-PATTERN MLLM : Using multi-line log messages causes problems when multiple threads are running in parallel, two log messages may end up spaced-out multiple lines apart in the log file, group together all log messages, regardless of the level
799 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
800 CATCH CLAUSE : catch (Exception e) {
log.warn("Could not get method by reflection. This could happen if you are using @parameters in combination with annotations.",e);
return;
}
801 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
802 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
803 CATCH CLAUSE : catch (Exception e) {
log.error("Could not get CheckStatus method: {} by reflection. This could happen if you are using @parameters in combination with annotations.",checkStatusMethodName,e);
throw new RuntimeException("Could not get CheckStatus method by reflection");
}
804 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
805 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
806 CATCH CLAUSE : catch (Exception e) {
log.error("Could not get CheckStatus method: {} by reflection. This could happen if you are using @parameters in combination with annotations.",checkStatusMethodName,e);
throw new RuntimeException("Could not get CheckStatus method by reflection");
}
807 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
808 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
809 CATCH CLAUSE : catch (AssertionFailedError e) {
log.error(EMPTY_LINE);
log.error("ASSERTION FAILED: {}",e,e);
exception=e;
throw e;
}
810 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
811 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
812 CATCH CLAUSE : catch (AssertionFailedError e) {
log.error(EMPTY_LINE);
log.error("ASSERTION FAILED: {}",e,e);
exception=e;
throw e;
}
813 ANTI-PATTERN MLLM : Using multi-line log messages causes problems when multiple threads are running in parallel, two log messages may end up spaced-out multiple lines apart in the log file, group together all log messages, regardless of the level
814 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
815 CATCH CLAUSE : catch (Throwable e) {
log.warn("Record events {} has failed",getName());
log.error(EMPTY_LINE);
log.error("EXCEPTION: {}",e,e);
exception=e;
throw e;
}
816 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
817 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\AbstractPlaybackTest.java
818 CATCH CLAUSE : catch (Throwable e) {
log.warn("Record events {} has failed",getName());
log.error(EMPTY_LINE);
log.error("EXCEPTION: {}",e,e);
exception=e;
throw e;
}
819 ANTI-PATTERN MLLM : Using multi-line log messages causes problems when multiple threads are running in parallel, two log messages may end up spaced-out multiple lines apart in the log file, group together all log messages, regardless of the level
820 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\PlaybackProcessStartTest.java
821 METHOD NAME : testSignals() throws Exception
822 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
823 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\PlaybackProcessStartTest.java
824 METHOD NAME : testUserTask() throws Exception
825 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
826 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\playback\PlaybackRunTest.java
827 METHOD NAME : testProcessInstanceStartEvents() throws Exception
828 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
829 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\replay\ReplayRunTest.java
830 METHOD NAME : testProcessInstanceStartEvents() throws Exception
831 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
832 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\impl\ScriptEventHandlerTest.java
833 METHOD NAME : testSimpleScriptExecution() throws Exception
834 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
835 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleEventCalendarTest.java
836 METHOD NAME : testIsEmpty() throws Exception
837 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
838 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleEventCalendarTest.java
839 METHOD NAME : testAddEventsAndRemoveFirst() throws Exception
840 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
841 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleEventCalendarTest.java
842 METHOD NAME : testClear() throws Exception
843 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
844 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleEventCalendarTest.java
845 METHOD NAME : testRunEventFromPast() throws Exception
846 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
847 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
848 METHOD NAME : testStep() throws Exception
849 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
850 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
851 METHOD NAME : testRunToTime() throws Exception
852 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
853 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
854 METHOD NAME : testRunToTimeInThePast() throws Exception
855 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
856 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
857 METHOD NAME : testRunToEvent() throws Exception
858 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
859 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
860 METHOD NAME : testRunToNonExistingEvent() throws Exception
861 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
862 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimpleSimulationRunTest.java
863 METHOD NAME : testRunContinue() throws Exception
864 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
865 FILE NAME : Activiti-master\modules\activiti-crystalball\src\test\java\org\activiti\crystalball\simulator\SimulationEventComparatorTest.java
866 METHOD NAME : testCompare() throws Exception
867 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
868 FILE NAME : Activiti-master\modules\activiti-cxf\src\main\java\org\activiti\engine\impl\webservice\CxfWebServiceClient.java
869 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\impl\webservice\WebServiceTaskTest.java
870 METHOD NAME : tearDown() throws Exception
871 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
872 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\impl\webservice\WebServiceTaskTest.java
873 METHOD NAME : testWebServiceInvocation() throws Exception
874 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
875 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\impl\webservice\WSDLImporterTest.java
876 METHOD NAME : testImportCounter() throws Exception
877 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
878 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\impl\webservice\WSDLImporterTest.java
879 METHOD NAME : testImportCounterWithImport() throws Exception
880 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
881 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\sendtask\WebServiceSimplisticTest.java
882 METHOD NAME : testAsyncInvocationWithSimplisticDataFlow() throws Exception
883 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
884 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\sendtask\WebServiceTest.java
885 METHOD NAME : testAsyncInvocationWithoutDataFlow() throws Exception
886 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
887 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\sendtask\WebServiceUELTest.java
888 METHOD NAME : testAsyncInvocationWithDataFlowUEL() throws Exception
889 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
890 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\servicetask\AbstractWebServiceTaskTest.java
891 METHOD NAME : tearDown() throws Exception
892 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
893 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\servicetask\WebServiceSimplisticTest.java
894 METHOD NAME : testWebServiceInvocationWithSimplisticDataFlow() throws Exception
895 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
896 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\servicetask\WebServiceTaskTest.java
897 METHOD NAME : testWebServiceInvocationWithoutDataFlow() throws Exception
898 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
899 FILE NAME : Activiti-master\modules\activiti-cxf\src\test\java\org\activiti\engine\test\bpmn\servicetask\WebServiceUELTest.java
900 METHOD NAME : testWebServiceInvocationWithDataFlowUEL() throws Exception
901 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
902 FILE NAME : Activiti-master\modules\activiti-diagram-rest\src\main\java\org\activiti\rest\diagram\services\ProcessInstanceHighlightsResource.java
903 CATCH CLAUSE : catch (Exception e) {
e.printStackTrace();
}
904 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
905 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\delegate\ExecutionListener.java
906 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\delegate\JavaDelegate.java
907 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\AbstractBpmnActivityBehavior.java
908 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
909 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
910 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\BoundaryEventActivityBehavior.java
911 METHOD NAME : execute(ActivityExecution execution) throws Exception
912 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
913 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\BusinessRuleTaskActivityBehavior.java
914 METHOD NAME : execute(ActivityExecution execution) throws Exception
915 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
916 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CallActivityBehavior.java
917 METHOD NAME : execute(ActivityExecution execution) throws Exception
918 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
919 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CallActivityBehavior.java
920 METHOD NAME : completing(DelegateExecution execution,DelegateExecution subProcessInstance) throws Exception
921 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
922 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CallActivityBehavior.java
923 METHOD NAME : completed(ActivityExecution execution) throws Exception
924 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
925 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CancelBoundaryEventActivityBehavior.java
926 METHOD NAME : execute(ActivityExecution execution) throws Exception
927 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
928 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CancelBoundaryEventActivityBehavior.java
929 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
930 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
931 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\CancelEndEventActivityBehavior.java
932 METHOD NAME : execute(ActivityExecution execution) throws Exception
933 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
934 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ErrorEndEventActivityBehavior.java
935 METHOD NAME : execute(ActivityExecution execution) throws Exception
936 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
937 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\EventBasedGatewayActivityBehavior.java
938 METHOD NAME : execute(ActivityExecution execution) throws Exception
939 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
940 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\EventSubProcessStartEventActivityBehavior.java
941 METHOD NAME : execute(ActivityExecution execution) throws Exception
942 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
943 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\FlowNodeActivityBehavior.java
944 METHOD NAME : execute(ActivityExecution execution) throws Exception
945 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
946 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\FlowNodeActivityBehavior.java
947 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
948 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
949 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\InclusiveGatewayActivityBehavior.java
950 METHOD NAME : execute(ActivityExecution execution) throws Exception
951 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
952 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\IntermediateCatchEventActivityBehavior.java
953 METHOD NAME : execute(ActivityExecution execution) throws Exception
954 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
955 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\IntermediateCatchEventActivityBehavior.java
956 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
957 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
958 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\IntermediateThrowCompensationEventActivityBehavior.java
959 METHOD NAME : execute(ActivityExecution execution) throws Exception
960 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
961 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\IntermediateThrowCompensationEventActivityBehavior.java
962 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
963 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
964 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\IntermediateThrowSignalEventActivityBehavior.java
965 METHOD NAME : execute(ActivityExecution execution) throws Exception
966 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
967 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\MultiInstanceActivityBehavior.java
968 METHOD NAME : execute(ActivityExecution execution) throws Exception
969 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
970 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\MultiInstanceActivityBehavior.java
971 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\NoneEndEventActivityBehavior.java
972 METHOD NAME : execute(ActivityExecution execution) throws Exception
973 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
974 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ParallelGatewayActivityBehavior.java
975 METHOD NAME : execute(ActivityExecution execution) throws Exception
976 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
977 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ParallelMultiInstanceBehavior.java
978 METHOD NAME : createInstances(ActivityExecution execution) throws Exception
979 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
980 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ReceiveTaskActivityBehavior.java
981 METHOD NAME : execute(ActivityExecution execution) throws Exception
982 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
983 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ReceiveTaskActivityBehavior.java
984 METHOD NAME : signal(ActivityExecution execution,String signalName,Object data) throws Exception
985 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
986 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ScriptTaskActivityBehavior.java
987 METHOD NAME : execute(ActivityExecution execution) throws Exception
988 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
989 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ScriptTaskActivityBehavior.java
990 CATCH CLAUSE : catch (ActivitiException e) {
LOGGER.warn("Exception while executing " + execution.getActivity().getId() + " : "+ e.getMessage());
noErrors=false;
if (e.getCause() instanceof ScriptException && e.getCause().getCause() instanceof ScriptException && e.getCause().getCause().getCause() instanceof BpmnError) {
ErrorPropagation.propagateError((BpmnError)e.getCause().getCause().getCause(),execution);
}
else {
throw e;
}
}
991 ANTI-PATTERN RRGC : relying on the result of getCause makes the code fragile, use org.apache.commons.lang.exception.ExceptionUtils.getRootCause(Throwable throwable)
992 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\SequentialMultiInstanceBehavior.java
993 METHOD NAME : createInstances(ActivityExecution execution) throws Exception
994 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
995 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\SequentialMultiInstanceBehavior.java
996 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Could not execute inner activity behavior of multi instance behavior",e);
}
997 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
998 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\SequentialMultiInstanceBehavior.java
999 METHOD NAME : execute(ActivityExecution execution) throws Exception
1000 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1001 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskDelegateExpressionActivityBehavior.java
1002 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
1003 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1004 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskDelegateExpressionActivityBehavior.java
1005 METHOD NAME : execute(ActivityExecution execution) throws Exception
1006 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1007 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskDelegateExpressionActivityBehavior.java
1008 CATCH CLAUSE : catch (Exception exc) {
Throwable cause=exc;
BpmnError error=null;
while (cause != null) {
if (cause instanceof BpmnError) {
error=(BpmnError)cause;
break;
}
cause=cause.getCause();
}
if (error != null) {
ErrorPropagation.propagateError(error,execution);
}
else {
throw exc;
}
}
1009 ANTI-PATTERN RRGC : relying on the result of getCause makes the code fragile, use org.apache.commons.lang.exception.ExceptionUtils.getRootCause(Throwable throwable)
1010 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskDelegateExpressionActivityBehavior.java
1011 CATCH CLAUSE : catch (Exception exc) {
Throwable cause=exc;
BpmnError error=null;
while (cause != null) {
if (cause instanceof BpmnError) {
error=(BpmnError)cause;
break;
}
cause=cause.getCause();
}
if (error != null) {
ErrorPropagation.propagateError(error,execution);
}
else {
throw exc;
}
}
1012 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1013 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskExpressionActivityBehavior.java
1014 METHOD NAME : execute(ActivityExecution execution) throws Exception
1015 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1016 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskExpressionActivityBehavior.java
1017 CATCH CLAUSE : catch (Exception exc) {
Throwable cause=exc;
BpmnError error=null;
while (cause != null) {
if (cause instanceof BpmnError) {
error=(BpmnError)cause;
break;
}
cause=cause.getCause();
}
if (error != null) {
ErrorPropagation.propagateError(error,execution);
}
else {
throw exc;
}
}
1018 ANTI-PATTERN RRGC : relying on the result of getCause makes the code fragile, use org.apache.commons.lang.exception.ExceptionUtils.getRootCause(Throwable throwable)
1019 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskExpressionActivityBehavior.java
1020 CATCH CLAUSE : catch (Exception exc) {
Throwable cause=exc;
BpmnError error=null;
while (cause != null) {
if (cause instanceof BpmnError) {
error=(BpmnError)cause;
break;
}
cause=cause.getCause();
}
if (error != null) {
ErrorPropagation.propagateError(error,execution);
}
else {
throw exc;
}
}
1021 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1022 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskJavaDelegateActivityBehavior.java
1023 METHOD NAME : execute(ActivityExecution execution) throws Exception
1024 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1025 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskJavaDelegateActivityBehavior.java
1026 METHOD NAME : notify(DelegateExecution execution) throws Exception
1027 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1028 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ServiceTaskJavaDelegateActivityBehavior.java
1029 METHOD NAME : execute(DelegateExecution execution) throws Exception
1030 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1031 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\ShellActivityBehavior.java
1032 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Could not execute shell command ",e);
}
1033 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1034 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\SubProcessActivityBehavior.java
1035 METHOD NAME : execute(ActivityExecution execution) throws Exception
1036 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1037 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\TerminateEndEventActivityBehavior.java
1038 METHOD NAME : execute(ActivityExecution execution) throws Exception
1039 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1040 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\UserTaskActivityBehavior.java
1041 METHOD NAME : execute(ActivityExecution execution) throws Exception
1042 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1043 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\UserTaskActivityBehavior.java
1044 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
1045 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1046 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\behavior\WebServiceActivityBehavior.java
1047 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\diagram\ProcessDiagramLayoutFactory.java
1048 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while parsing BPMN model.",e);
}
1049 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1050 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1051 METHOD NAME : notify(DelegateExecution execution) throws Exception
1052 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1053 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1054 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Exception while invoking TaskListener: " + e.getMessage(),e);
}
1055 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1056 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1057 METHOD NAME : execute(ActivityExecution execution) throws Exception
1058 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1059 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1060 METHOD NAME : signal(ActivityExecution execution,String signalName,Object signalData) throws Exception
1061 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1062 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1063 METHOD NAME : completing(DelegateExecution execution,DelegateExecution subProcessInstance) throws Exception
1064 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1065 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ClassDelegate.java
1066 METHOD NAME : completed(ActivityExecution execution) throws Exception
1067 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1068 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ErrorPropagation.java
1069 METHOD NAME : propagateError(BpmnError error,ActivityExecution execution) throws Exception
1070 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1071 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ErrorPropagation.java
1072 METHOD NAME : propagateError(String errorCode,ActivityExecution execution) throws Exception
1073 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1074 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\helper\ErrorThrowingEventListener.java
1075 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while propagating error-event",e);
}
1076 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1077 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\listener\DelegateExpressionExecutionListener.java
1078 METHOD NAME : notify(DelegateExecution execution) throws Exception
1079 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1080 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\listener\DelegateExpressionTaskListener.java
1081 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Exception while invoking TaskListener: " + e.getMessage(),e);
}
1082 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1083 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\listener\ExpressionExecutionListener.java
1084 METHOD NAME : notify(DelegateExecution execution) throws Exception
1085 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1086 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\listener\ScriptExecutionListener.java
1087 METHOD NAME : notify(DelegateExecution execution) throws Exception
1088 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1089 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\parser\BpmnParse.java
1090 CATCH CLAUSE : catch (Exception e) {
if (e instanceof ActivitiException) {
throw (ActivitiException)e;
}
else {
throw new ActivitiException("Error parsing XML",e);
}
}
1091 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1092 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\bpmn\parser\BpmnParse.java
1093 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Could not find importer for type " + theImport.getImportType());
}
1094 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1095 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\AdvancedCycleBusinessCalendar.java
1096 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiIllegalArgumentException("Cannot parse duration",e);
}
1097 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1098 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\AdvancedSchedulerResolverWithTimeZone.java
1099 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Failed to parse scheduler expression: " + duedateDescription,e);
}
1100 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1101 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\CronExpression.java
1102 CATCH CLAUSE : catch (Exception e) {
throw new ParseException("Illegal cron expression format (" + e.toString() + ")",0);
}
1103 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1104 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\CronExpression.java
1105 CATCH CLAUSE : catch (Exception e) {
throw new ParseException("A numeric value between 1 and 5 must follow the '#' option",i);
}
1106 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1107 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\CronExpression.java
1108 CATCH CLAUSE : catch (Exception e) {
throw new ParseException("A numeric value between 1 and 5 must follow the '#' option",i);
}
1109 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1110 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\CycleBusinessCalendar.java
1111 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Failed to parse cron expression: " + duedateDescription,e);
}
1112 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1113 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\DueDateBusinessCalendar.java
1114 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("couldn't resolve duedate: " + e.getMessage(),e);
}
1115 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1116 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\DurationBusinessCalendar.java
1117 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("couldn't resolve duedate: " + e.getMessage(),e);
}
1118 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1119 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\DurationHelper.java
1120 METHOD NAME : DurationHelper(String expressionS,ClockReader clockReader) throws Exception
1121 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1122 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\DurationHelper.java
1123 METHOD NAME : parseDate(String date) throws Exception
1124 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1125 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\calendar\DurationHelper.java
1126 METHOD NAME : parsePeriod(String period) throws Exception
1127 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1128 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\cfg\ProcessEngineConfigurationImpl.java
1129 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("couldn't lookup datasource from " + dataSourceJndiName + ": "+ e.getMessage(),e);
}
1130 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1131 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\cfg\ProcessEngineConfigurationImpl.java
1132 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while building ibatis SqlSessionFactory: " + e.getMessage(),e);
}
1133 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1134 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\cmd\ExecuteJobsCmd.java
1135 CATCH CLAUSE : catch (Throwable exception) {
CommandExecutor commandExecutor=Context.getProcessEngineConfiguration().getCommandExecutor();
commandContext.getTransactionContext().addTransactionListener(TransactionState.ROLLED_BACK,new FailedJobListener(commandExecutor,jobId,exception));
if (commandContext.getEventDispatcher().isEnabled()) {
try {
commandContext.getEventDispatcher().dispatchEvent(ActivitiEventBuilder.createEntityExceptionEvent(ActivitiEventType.JOB_EXECUTION_FAILURE,job,exception));
}
catch ( Throwable ignore) {
log.warn("Exception occured while dispatching job failure event, ignoring.",ignore);
}
}
throw new ActivitiException("Job " + jobId + " failed",exception);
}
1136 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1137 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSchemaExport.java
1138 METHOD NAME : main(String[] args) throws Exception
1139 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1140 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSchemaExport.java
1141 CATCH CLAUSE : catch (Exception e) {
e.printStackTrace();
connection.close();
}
1142 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1143 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1144 CATCH CLAUSE : catch (Exception e) {
if (isMissingTablesException(e)) {
throw new ActivitiException("no activiti tables in db. set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation",e);
}
else {
if (e instanceof RuntimeException) {
throw (RuntimeException)e;
}
else {
throw new ActivitiException("couldn't get db schema version",e);
}
}
}
1145 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1146 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1147 CATCH CLAUSE : catch (Exception e) {
log.error("Error closing meta data tables",e);
}
1148 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1149 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1150 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("couldn't check if tables are already present using metadata: " + e.getMessage(),e);
}
1151 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1152 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1153 CATCH CLAUSE : catch (Exception e) {
log.info("Could not get database metadata",e);
}
1154 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1155 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1156 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("error while executing database update java class '" + upgradestepClassName + "': "+ e.getMessage(),e);
}
1157 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1158 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1159 CATCH CLAUSE : catch (Exception e) {
if (exception == null) {
exception=e;
exceptionSqlStatement=sqlStatement;
}
log.error("problem during schema {}, statement {}",operation,sqlStatement,e);
}
1160 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1161 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\DbSqlSession.java
1162 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("couldn't " + operation + " db schema: "+ exceptionSqlStatement,e);
}
1163 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1164 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\upgrade\DbUpgradeStep.java
1165 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\db\upgrade\DbUpgradeStep52To53InsertPropertyHistoryLevel.java
1166 METHOD NAME : execute(DbSqlSession dbSqlSession) throws Exception
1167 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1168 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\ActivityBehaviorInvocation.java
1169 METHOD NAME : invoke() throws Exception
1170 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1171 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\DefaultDelegateInterceptor.java
1172 METHOD NAME : handleInvocation(DelegateInvocation invocation) throws Exception
1173 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1174 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\DelegateInvocation.java
1175 METHOD NAME : proceed, performing the actual invocation of the user
- code.
- @throws Exceptionthe exception thrown by the user code
*/
public void proceed() throws Exception
1176 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1177 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\DelegateInvocation.java
1178 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\ExecutionListenerInvocation.java
1179 METHOD NAME : invoke() throws Exception
1180 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1181 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\ExpressionGetInvocation.java
1182 METHOD NAME : invoke() throws Exception
1183 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1184 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\ExpressionSetInvocation.java
1185 METHOD NAME : invoke() throws Exception
1186 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1187 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\JavaDelegateInvocation.java
1188 METHOD NAME : invoke() throws Exception
1189 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1190 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\delegate\TaskListenerInvocation.java
1191 METHOD NAME : invoke() throws Exception
1192 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1193 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\el\JuelExpression.java
1194 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while evaluating expression: " + expressionText,e);
}
1195 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1196 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\el\JuelExpression.java
1197 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while evaluating expression: " + expressionText,e);
}
1198 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1199 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\event\AbstractEventHandler.java
1200 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("exception while sending signal for event subscription '" + eventSubscription + "':"+ e.getMessage(),e);
}
1201 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1202 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\event\CompensationEventHandler.java
1203 CATCH CLAUSE : catch (Exception e) {
throw new ActivitiException("Error while handling compensation event " + eventSubscription,e);
}
1204 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1205 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\event\logger\EventLogger.java
1206 CATCH CLAUSE : catch (Exception e) {
logger.warn("Could not instantiate " + eventHandlerClass + ", this is most likely a programmatic error");
}
1207 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1208 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\event\logger\handler\AbstractDatabaseEventLoggerEventHandler.java
1209 CATCH CLAUSE : catch (Exception e) {
}
1210 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1211 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\history\handler\CallActivityStartHandler.java
1212 METHOD NAME : notify(DelegateExecution execution) throws Exception
1213 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1214 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\history\handler\StartEventEndHandler.java
1215 METHOD NAME : notify(DelegateExecution execution) throws Exception
1216 ANTI-PATTERN THGE : Throws generic Exception, defeats the purpose of using a checked exception, declare the specific checked exceptions that your method can throw
1217 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\interceptor\CommandContextInterceptor.java
1218 CATCH CLAUSE : catch (Exception e) {
context.exception(e);
}
1219 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1220 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\interceptor\DelegateInterceptor.java
1221 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\interceptor\JtaTransactionInterceptor.java
1222 CATCH CLAUSE : catch (Exception ex) {
doRollback(isNew);
throw new UndeclaredThrowableException(ex,"TransactionCallback threw undeclared checked exception");
}
1223 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1224 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\BeanELResolver.java
1225 CATCH CLAUSE : catch (Exception e) {
throw new ELException(e);
}
1226 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1227 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\BeanELResolver.java
1228 CATCH CLAUSE : catch (NoSuchMethodException e) {
return null;
}
1229 ANTI-PATTERN RNHR : just returns null instead of handling or re-throwing the exception, swallows the exception, losing the information forever
1230 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\DynamicBeanPropertyELResolver.java
1231 CATCH CLAUSE : catch (Exception e) {
throw new ELException(e);
}
1232 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1233 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\DynamicBeanPropertyELResolver.java
1234 CATCH CLAUSE : catch (Exception e) {
throw new ELException(e);
}
1235 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1236 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\ExpressionFactory.java
1237 CATCH CLAUSE : catch (Exception io) {
}
1238 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1239 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\ExpressionFactory.java
1240 CATCH CLAUSE : catch (Exception se) {
}
1241 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1242 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\ExpressionFactory.java
1243 CATCH CLAUSE : catch (Exception e) {
}
1244 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1245 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\javax\el\ExpressionFactory.java
1246 CATCH CLAUSE : catch (Exception e) {
throw new ELException("Could not create expression factory instance",e);
}
1247 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1248 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\CallerRunsRejectedJobsHandler.java
1249 CATCH CLAUSE : catch (Exception e) {
log.error("Failed to execute rejected jobs " + jobIds,e);
}
1250 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1251 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\FailedJobListener.java
1252 CATCH CLAUSE : catch (Throwable t) {
log.warn("Error while executing command when job is failed for job: '" + jobId + "'.",t);
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
throw new RuntimeException(t);
}
1253 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1254 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerCatchIntermediateEventJobHandler.java
1255 CATCH CLAUSE : catch (RuntimeException e) {
LogMDC.putMDCExecution(execution);
log.error("exception during timer execution",e);
LogMDC.clear();
throw e;
}
1256 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1257 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerCatchIntermediateEventJobHandler.java
1258 CATCH CLAUSE : catch (Exception e) {
LogMDC.putMDCExecution(execution);
log.error("exception during timer execution",e);
LogMDC.clear();
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1259 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1260 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerCatchIntermediateEventJobHandler.java
1261 CATCH CLAUSE : catch (Exception e) {
LogMDC.putMDCExecution(execution);
log.error("exception during timer execution",e);
LogMDC.clear();
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1262 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1263 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerExecuteNestedActivityJobHandler.java
1264 CATCH CLAUSE : catch (RuntimeException e) {
log.error("exception during timer execution",e);
throw e;
}
1265 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1266 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerExecuteNestedActivityJobHandler.java
1267 CATCH CLAUSE : catch (Exception e) {
log.error("exception during timer execution",e);
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1268 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1269 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerExecuteNestedActivityJobHandler.java
1270 CATCH CLAUSE : catch (Exception e) {
log.error("exception during timer execution",e);
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1271 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1272 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerStartEventJobHandler.java
1273 CATCH CLAUSE : catch (RuntimeException e) {
log.error("exception during timer execution",e);
throw e;
}
1274 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1275 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerStartEventJobHandler.java
1276 CATCH CLAUSE : catch (Exception e) {
log.error("exception during timer execution",e);
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1277 ANTI-PATTERN LGTE : logging and throwing Exception, choose one otherwise it results in multiple log messages (multiple-entries, duplication)
1278 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\jobexecutor\TimerStartEventJobHandler.java
1279 CATCH CLAUSE : catch (Exception e) {
log.error("exception during timer execution",e);
throw new ActivitiException("exception during timer execution: " + e.getMessage(),e);
}
1280 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1281 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\Bindings.java
1282 CATCH CLAUSE : catch (NoSuchMethodException e) {
throw new IOException(e.getMessage());
}
1283 ANTI-PATTERN WEPG : Wrapping the exception and passing getMessage() destroys the stack trace of original exception
1284 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\Builder.java
1285 CATCH CLAUSE : catch (ScanException e) {
throw new TreeBuilderException(expression,e.position,e.encountered,e.expected,e.getMessage());
}
1286 ANTI-PATTERN WEPG : Wrapping the exception and passing getMessage() destroys the stack trace of original exception
1287 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\Builder.java
1288 CATCH CLAUSE : catch (ParseException e) {
throw new TreeBuilderException(expression,e.position,e.encountered,e.expected,e.getMessage());
}
1289 ANTI-PATTERN WEPG : Wrapping the exception and passing getMessage() destroys the stack trace of original exception
1290 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\ExpressionFactoryImpl.java
1291 CATCH CLAUSE : catch (Exception e) {
throw new ELException("TypeConverter " + clazz + " could not be instantiated",e);
}
1292 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1293 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\ExpressionFactoryImpl.java
1294 CATCH CLAUSE : catch (Exception e) {
throw new ELException("TreeBuilder " + clazz + " could not be instantiated",e);
}
1295 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown
1296 FILE NAME : Activiti-master\modules\activiti-engine\src\main\java\org\activiti\engine\impl\juel\ExpressionFactoryImpl.java
1297 CATCH CLAUSE : catch (Exception e) {
throw new ELException("Could not get context class loader",e);
}
1298 ANTI-PATTERN CTGE : catching generic Exception, catch the specific exception that can be thrown