Issues (883)

lang/ex/ExecutionPreparationException.java (2 issues)

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...
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