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

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

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

import java.io.IOException;
import java.net.HttpURLConnection;

public class ApiIoException extends ApiGatewayException {

    public static final int ERROR_CODE = HttpURLConnection.HTTP_INTERNAL_ERROR;

    public ApiIoException(IOException e, String errorMessage) {
        super(e, errorMessage);
    }

    @Override
    public Integer statusCode() {
        return ERROR_CODE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy