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

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

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

import io.vertx.up.eon.em.ServerType;
import io.vertx.up.util.Ut;
import io.vertx.up.exception.UpException;

import java.util.Set;

public class AgentDuplicatedException extends UpException {

    public AgentDuplicatedException(final Class clazz,
                                    final ServerType type,
                                    final int numbber,
                                    final Set agents) {
        super(clazz, numbber, type, Ut.fromJoin(agents));
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy