|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| CommunicationException.java | - | 0% | 0% | 0% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* Replica is published under the terms
|
|
| 3 |
* of the Apache Software License.
|
|
| 4 |
*/
|
|
| 5 |
package replica.group;
|
|
| 6 |
|
|
| 7 |
/**
|
|
| 8 |
* Exception used to signal a group communication problem.
|
|
| 9 |
* It's modeled as an unchecked exception, so calling code can choose to
|
|
| 10 |
* catch it or or.
|
|
| 11 |
*
|
|
| 12 |
* As with all unchecked exceptions, all methods that throw this exception
|
|
| 13 |
* should be well documented.
|
|
| 14 |
*
|
|
| 15 |
* @author Pedro Costa
|
|
| 16 |
* @author Helder Silva
|
|
| 17 |
* @since 19/Jan/2004
|
|
| 18 |
*/
|
|
| 19 |
public class CommunicationException extends RuntimeException { |
|
| 20 |
|
|
| 21 |
/**
|
|
| 22 |
*
|
|
| 23 |
*/
|
|
| 24 | 0 |
public CommunicationException() {
|
| 25 | 0 |
super();
|
| 26 |
} |
|
| 27 |
|
|
| 28 |
/**
|
|
| 29 |
* @param message
|
|
| 30 |
*/
|
|
| 31 | 0 |
public CommunicationException(String message) {
|
| 32 | 0 |
super(message);
|
| 33 |
} |
|
| 34 |
|
|
| 35 |
/**
|
|
| 36 |
* @param cause
|
|
| 37 |
*/
|
|
| 38 | 0 |
public CommunicationException(Throwable cause) {
|
| 39 | 0 |
super(cause);
|
| 40 |
} |
|
| 41 |
|
|
| 42 |
/**
|
|
| 43 |
* @param message
|
|
| 44 |
* @param cause
|
|
| 45 |
*/
|
|
| 46 | 0 |
public CommunicationException(String message, Throwable cause) {
|
| 47 | 0 |
super(message, cause);
|
| 48 |
} |
|
| 49 |
|
|
| 50 |
} |
|
| 51 |
|
|
||||||||||