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

org.treeleafj.xmax.http.HttpException Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package org.treeleafj.xmax.http;

import org.treeleafj.xmax.exception.BaseException;
import org.treeleafj.xmax.exception.RetCode;

/**
 * Created by leaf on 2015/6/29.
 */
public class HttpException extends BaseException {

    public HttpException(String message) {
        super(RetCode.FAIL_REMOTE, message);
    }

    public HttpException(String code, String message) {
        super(code, message);
    }

    public HttpException(String message, Throwable t) {
        super(RetCode.FAIL_REMOTE, message, t);
    }

    public HttpException(String code, String message, Throwable t) {
        super(code, message, t);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy