silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-up/src/main/error/io/vertx/zero/exception/ReturnTypeException.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 ReturnTypeException extends BootingException {

    public ReturnTypeException(final Class<?> clazz,
                               final Method method) {
        super(clazz, method.getName(), method.getDeclaringClass().getName());
    }

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