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

io.vertx.up.exception.web._415PointDefineException Maven / Gradle / Ivy

package io.vertx.up.exception.web;

import io.vertx.core.http.HttpStatusCode;
import io.vertx.up.exception.WebException;

/**
 * @author Lang
 */
public class _415PointDefineException extends WebException {
    public _415PointDefineException(final Class clazz,
                                    final Class type) {
        super(clazz, type.getName());
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy