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 public CommunicationException() { 25 super(); 26 } 27 28 /*** 29 * @param message 30 */ 31 public CommunicationException(String message) { 32 super(message); 33 } 34 35 /*** 36 * @param cause 37 */ 38 public CommunicationException(Throwable cause) { 39 super(cause); 40 } 41 42 /*** 43 * @param message 44 * @param cause 45 */ 46 public CommunicationException(String message, Throwable cause) { 47 super(message, cause); 48 } 49 50 }

This page was automatically generated by Maven