it.cnr.istc.pst.platinum.ai.executive.lang.ex.ExecutionPreparationException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 11
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A ExecutionPreparationException(String) 0 2 1
1
package it.cnr.istc.pst.platinum.ai.executive.lang.ex;
2
3
import it.cnr.istc.pst.platinum.ai.executive.lang.failure.ExecutionFailureCause;
4
5
/**
6
 * 
7
 * @author alessandro
8
 *
9
 */
10
public class ExecutionPreparationException extends Exception {
11
	private static final long serialVersionUID = 1L;
12
	
13
	protected ExecutionFailureCause cause; 
0 ignored issues
show
Bug Best Practice introduced by
Fields like cause in a serializable class should either be transient or serializable.
Loading history...
Best Practice introduced by
Exceptions generally should be immutable since they convey immutable data. Consider making the field cause final.
Loading history...
14
	
15
	/**
16
	 * 
17
	 * @param msg
18
	 */
19
	public ExecutionPreparationException(String msg) {
20
		super(msg);
21
	}
22
	
23
}
24