All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anthavio.httl.HttlResponseException Maven / Gradle / Ivy

The newest version!
package net.anthavio.httl;

/**
 * 
 * @author martin.vanek
 * 
 * When response cannot/failed to be processed/extracted & wrapping IOExceptions
 *
 */
public class HttlResponseException extends HttlException {

	private static final long serialVersionUID = 1L;

	private final HttlResponse response;

	public HttlResponseException(HttlResponse response, Exception x) {
		super(x);
		this.response = response;
	}

	public HttlResponseException(HttlResponse response, String message) {
		super(message);
		this.response = response;
	}

	public HttlResponse getResponse() {
		return response;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy