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

com.banxa.model.response.ErrorResponse Maven / Gradle / Ivy

The newest version!
package com.banxa.model.response;

public class ErrorResponse {
    public static final int DEFAULT_ERROR_STATUS_CODE = 500;

    private final String message;
    private final int statusCode;

    public ErrorResponse(int statusCode, String message) {
        this.message = message;
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public int getStatusCode() {
        return statusCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy