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

com.liveperson.faas.exception.RestException Maven / Gradle / Ivy

Go to download

Functions client for invoking lambdas via the eventsource gateway (a.k.a Asgard)

There is a newer version: 1.2.3
Show newest version
package com.liveperson.faas.exception;

import java.io.IOException;

public class RestException extends IOException {
    private String response;
    private int statusCode;

    public RestException(String message, String response, int statusCode, Throwable cause){
        super(message, cause);

        this.response = response;
        this.statusCode = statusCode;
    }

    public RestException(String message, String response, int statusCode){
        super(message);

        this.response = response;
        this.statusCode = statusCode;
    }

    public String getResponse() {
        return response;
    }

    public int getStatusCode() {
        return statusCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy