| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
package jalview.analysis; |
| 22 |
|
|
| |
|
| 0% |
Uncovered Elements: 13 (13) |
Complexity: 5 |
Complexity Density: 0.62 |
|
| 23 |
|
public class ConnectivityException extends RuntimeException |
| 24 |
|
{ |
| 25 |
|
private String sequence; |
| 26 |
|
|
| 27 |
|
private int connection; |
| 28 |
|
|
| 29 |
|
private byte dim; |
| 30 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 31 |
0 |
public ConnectivityException(String sequence, int connection, byte dim)... |
| 32 |
|
{ |
| 33 |
0 |
this("Insufficient number of connections", sequence, connection, dim); |
| 34 |
|
} |
| 35 |
|
|
| |
|
| 0% |
Uncovered Elements: 4 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
| 36 |
0 |
public ConnectivityException(String message, String sequence,... |
| 37 |
|
int connection, byte dim) |
| 38 |
|
{ |
| 39 |
0 |
super(String.format("%s for %s (%d, should be %d or more)", message, |
| 40 |
|
sequence, connection, dim)); |
| 41 |
0 |
this.sequence = sequence; |
| 42 |
0 |
this.connection = connection; |
| 43 |
0 |
this.dim = dim; |
| 44 |
|
} |
| 45 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 46 |
0 |
public String getSequence()... |
| 47 |
|
{ |
| 48 |
0 |
return sequence; |
| 49 |
|
} |
| 50 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 51 |
0 |
public int getConnection()... |
| 52 |
|
{ |
| 53 |
0 |
return connection; |
| 54 |
|
} |
| 55 |
|
|
| |
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 56 |
0 |
public byte getDim()... |
| 57 |
|
{ |
| 58 |
0 |
return dim; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
} |