Exceptions

APIException

package com.objectia.exceptions;

public abstract class APIException extends Exception {
    public APIException(String message);
}

APIConnectionException

package com.objectia.exceptions;

public class APIConnectionException extends APIException {
    public APIConnectionException(String message);
}

APITimeoutException

package com.objectia.exceptions;

public class APITimeoutException extends APIException {
    public APITimeoutException(String message);
}

ResponseException

package com.objectia.exceptions;

public class ResponseException extends APIException {
    public ResponseException(int status, String message, String code);
    public int getStatus();
    public String getCode();
}