1 package ch.odi.justblog.api; 2 3 /*** 4 * Signals a problem in the underlying weblog API. 5 * 6 * @author oglueck 7 */ 8 public class ApiException extends Exception { 9 10 /*** 11 * @param message 12 */ 13 public ApiException(String message) { 14 super(message); 15 } 16 17 /*** 18 * @param message 19 * @param cause 20 */ 21 public ApiException(String message, Throwable cause) { 22 super(message, cause); 23 } 24 25 /*** 26 * @param cause 27 */ 28 public ApiException(Throwable cause) { 29 super(cause.getMessage(), cause); 30 } 31 32 }