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

io.femo.http.HttpException Maven / Gradle / Ivy

Go to download

An easy to use HTTP API, that supports synchronous and asynchronous execution of HTTP request. On android only asynchronous driver is supported.

There is a newer version: 0.0.3
Show newest version
package io.femo.http;

import java.io.PrintStream;

/**
 * Created by felix on 1/19/16.
 */
public class HttpException extends RuntimeException {

    private HttpRequest request;

    public HttpException(HttpRequest request, Exception cause) {
        super(cause);
    }

    @Override
    public void printStackTrace(PrintStream printStream) {
        if(request != null)
            request.print(printStream);
        super.printStackTrace(printStream);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy