
com.megaport.api.exceptions.InvalidCredentialsException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
This library is a Java wrapper for the Megaport API.
The newest version!
package com.megaport.api.exceptions;
/**
* Created by adam.wells on 17/06/2016.
*/
public class InvalidCredentialsException extends RuntimeException{
private Integer errorCode;
private Integer httpResponseCode;
public InvalidCredentialsException(String message, Integer httpResponseCode, Integer errorCode) {
super(message);
}
public Integer getErrorCode() {
return errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
public Integer getHttpResponseCode() {
return httpResponseCode;
}
public void setHttpResponseCode(Integer httpResponseCode) {
this.httpResponseCode = httpResponseCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy