unicon.matthews.oneroster.exception.OneRosterNotFoundException   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setMessage(String) 0 2 1
A getMessage() 0 2 1
A OneRosterNotFoundException(String) 0 3 1
1
package unicon.matthews.oneroster.exception;
2
3
/**
4
 * @author ggilbert
5
 * @author xchopin <[email protected]>
6
 */
7
public class OneRosterNotFoundException extends RuntimeException {
8
9
  private static final long serialVersionUID = 1L;
10
11
  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...
12
13
  public OneRosterNotFoundException(String message) {
14
    super();
15
    this.message = message;
16
  }
17
18
  public String getMessage() {
19
    return message;
20
  }
21
22
  public void setMessage(String message) {
23
    this.message = message;
24
  }
25
26
}
27