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;
}
}