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

com.txxs.common.response.exception.server.BadGatewayException Maven / Gradle / Ivy

The newest version!
package com.txxs.common.response.exception.server;

import com.txxs.common.response.exception.ServerException;
import com.txxs.common.response.exception.UniversalException;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @Author:jianghuimin
 * @Date: 2017/8/3
 * @Time:17:23
 */
@ResponseStatus(HttpStatus.BAD_GATEWAY)
@UniversalException.Code("502")
public class BadGatewayException extends ServerException {
    public BadGatewayException() {
    }

    public BadGatewayException(String message) {
        super(message);
    }

    public BadGatewayException(String message, Throwable cause) {
        super(message, cause);
    }

    public BadGatewayException(Throwable cause) {
        super(cause);
    }

    public BadGatewayException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy