
net.anthavio.httl.HttlResponseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hatatitla Show documentation
Show all versions of hatatitla Show documentation
Compact but tweakable REST client library you have been dreaming of
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