com.manywho.sdk.exceptions.ManyWhoException Maven / Gradle / Ivy
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