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

nva.commons.apigateway.exceptions.UnauthorizedException Maven / Gradle / Ivy

There is a newer version: 1.40.19
Show newest version
package nva.commons.apigateway.exceptions;

import java.net.HttpURLConnection;

public class UnauthorizedException extends ApiGatewayException {

    public UnauthorizedException(String message) {
        super(message);
    }

    public UnauthorizedException() {
        this("Unauthorized");
    }

    @Override
    protected Integer statusCode() {
        return HttpURLConnection.HTTP_UNAUTHORIZED;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy