
com.sdklite.sphere.restful.InvocationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphere-restful Show documentation
Show all versions of sphere-restful Show documentation
The sphere RESTful client framework
The newest version!
package com.sdklite.sphere.restful;
import org.apache.http.StatusLine;
/**
* @author johnsonlee
*/
public class InvocationException extends Exception {
private final InvocationTarget target;
private final StatusLine status;
public InvocationException(final InvocationTarget target) {
this(target, null, null, null);
}
public InvocationException(final InvocationTarget target, final StatusLine status) {
this(target, status, null, null);
}
public InvocationException(final InvocationTarget target, final StatusLine status, final Throwable t) {
this(target, status, null, null);
}
public InvocationException(final InvocationTarget target, final StatusLine status, final String detailMessage, final Throwable t) {
super(detailMessage, t);
this.target = target;
this.status = status;
}
}