silentbalanceyh/vertx-zero

View on GitHub
vertx-gaia/vertx-ams/src/main/error/io/horizon/exception/web/_403ForbiddenException.java

Summary

Maintainability
A
30 mins
Test Coverage
package io.horizon.exception.web;

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

public class _403ForbiddenException extends WebException {

    public _403ForbiddenException(final Class<?> clazz) {
        super(clazz);
    }

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

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

    @Development("IDE视图专用")
    private int __60013() {
        return this.getCode();
    }
}