setMessage(String)   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 2
rs 10
eloc 2
1
package unicon.matthews.caliper.exception;
2
3
/**
4
 * @author xchopin <[email protected]>
5
 */
6
public class CaliperNotFoundException extends RuntimeException {
7
8
    private static final long serialVersionUID = 1L;
9
10
    private String message;
0 ignored issues
show
Best Practice introduced by
Exceptions generally should be immutable since they convey immutable data. Consider making the field message final.
Loading history...
11
12
    public CaliperNotFoundException(String message) {
13
        super();
14
        this.message = message;
15
    }
16
17
    public String getMessage() {
18
        return message;
19
    }
20
21
    public void setMessage(String message) {
22
        this.message = message;
23
    }
24
25
}