silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-up/src/main/error/io/vertx/up/exception/web/_501RpcMethodMissingException.java

Summary

Maintainability
A
0 mins
Test Coverage
package io.vertx.up.exception.web;

import io.horizon.eon.em.web.HttpStatusCode;
import io.horizon.exception.WebException;

public class _501RpcMethodMissingException extends WebException {

    public _501RpcMethodMissingException(final Class<?> clazz,
                                         final String address) {
        super(clazz, address);
    }

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

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