| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
package org.itracker.services.exceptions; |
| 20 |
|
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 6 |
Complexity Density: 1 |
|
| 21 |
|
public class WorkflowException extends Exception { |
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
private static final long serialVersionUID = -3826882855960029370L; |
| 26 |
|
|
| 27 |
|
public static final int INVALID_ARGS = -1; |
| 28 |
|
|
| 29 |
|
private int type = 0; |
| 30 |
|
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 31 |
0
|
public WorkflowException() {... |
| 32 |
|
} |
| 33 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 34 |
0
|
public WorkflowException(String message) {... |
| 35 |
0
|
super(message); |
| 36 |
|
} |
| 37 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 38 |
0
|
public WorkflowException(int type) {... |
| 39 |
0
|
setType(type); |
| 40 |
|
} |
| 41 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 42 |
0
|
public WorkflowException(String message, int type) {... |
| 43 |
0
|
super(message); |
| 44 |
0
|
setType(type); |
| 45 |
|
} |
| 46 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 47 |
0
|
public int getType() {... |
| 48 |
0
|
return type; |
| 49 |
|
} |
| 50 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 51 |
0
|
public void setType(int type) {... |
| 52 |
0
|
this.type = type; |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
|