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

io.vertx.zero.exception.AnnotationRepeatException Maven / Gradle / Ivy

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

import io.vertx.up.exception.UpException;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;

public class AnnotationRepeatException extends UpException {

    public AnnotationRepeatException(final Class clazz,
                                     final Method method,
                                     final Class annoCls,
                                     final int occurs) {
        super(clazz, method.getName(), "@" + annoCls.getSimpleName(), occurs);
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy