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

com.sdklite.sphere.restful.InvocationException Maven / Gradle / Ivy

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;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy