1 package com.foxinmy.weixin4j.http; 2 3 4 public class HttpClientException extends Exception { 5 6 private static final long serialVersionUID = -1760373205801759702L; 7 8 /** 9 * Construct a new instance of {@code HttpClientException} with the given 10 * message. 11 * 12 * @param msg 13 * the message 14 */ 15 public HttpClientException(String msg) { 16 super(msg); 17 } 18 19 /** 20 * Construct a new instance of {@code HttpClientException} with the given 21 * message and exception. 22 * 23 * @param msg 24 * the message 25 * @param ex 26 * the exception 27 */ 28 public HttpClientException(String msg, Throwable ex) { 29 super(msg, ex); 30 } 31 }