silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-up/src/main/error/io/vertx/zero/exception/AddressWrongException.java

Summary

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

import io.horizon.exception.BootingException;

import java.lang.reflect.Method;

public class AddressWrongException extends BootingException {

    public AddressWrongException(final Class<?> clazz,
                                 final String address,
                                 final Class<?> target,
                                 final Method method) {
        super(clazz, address, target.getName(), method.getName());
    }

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