1 package net.jaekl.qd.http;
3 import net.jaekl.qd.QDException;
5 public class InvalidResponseException extends QDException {
6 private static final long serialVersionUID = 1L;
10 String m_response; // first few bytes of the actual response
12 public InvalidResponseException(Throwable cause, String url, String method, String response) {
17 m_response = response;
20 public String getUrl() { return m_url; }
21 public String getMethod() { return m_method; }
24 public String toString() {
25 return getClass().getName() + "; " + m_url + "/" + m_method + "=>\"" + m_response + "\"";