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

io.vertx.up.exception.web._504RemoteRpcException Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.exception.web;

import io.vertx.core.http.HttpStatusCode;
import io.vertx.up.exception.WebException;

public class _504RemoteRpcException extends WebException {

    public _504RemoteRpcException(final Class clazz,
                                  final String target,
                                  final String address,
                                  final Throwable ex) {
        super(clazz, target, address, ex.getMessage());
    }

    @Override
    public int getCode() {
        return -60017;
    }

    @Override
    public HttpStatusCode getStatus() {
        return HttpStatusCode.GATEWAY_TIMEOUT;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy