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

com.manywho.sdk.exceptions.ManyWhoException Maven / Gradle / Ivy

There is a newer version: 1.25.0
Show newest version
package com.manywho.sdk.exceptions;

public class ManyWhoException extends RuntimeException {
    private int statusCode;
    private String reasonPhrase;

    public ManyWhoException(int statusCode, String reasonPhrase) {
        super("There was a problem with the call to ManyWho: " + reasonPhrase);

        this.statusCode = statusCode;
        this.reasonPhrase = reasonPhrase;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getReasonPhrase() {
        return reasonPhrase;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy