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

io.horizon.exception.web._401UnauthorizedException Maven / Gradle / Ivy

The newest version!
package io.horizon.exception.web;

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

public class _401UnauthorizedException extends WebException {

    public _401UnauthorizedException(final Class clazz) {
        super(clazz);
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy