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

io.vertx.tp.error._409EventStartUniqueException Maven / Gradle / Ivy

The newest version!
package io.vertx.tp.error;

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

/**
 * @author Lang
 */
public class _409EventStartUniqueException extends WebException {

    public _409EventStartUniqueException(final Class clazz,
                                         final Integer size,
                                         final String definitionId) {
        super(clazz, String.valueOf(size), definitionId);
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy