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

io.quarkus.vault.runtime.client.VaultClientException Maven / Gradle / Ivy

There is a newer version: 3.0.0.Beta1
Show newest version
package io.quarkus.vault.runtime.client;

import io.quarkus.vault.VaultException;

public class VaultClientException extends VaultException {

    private int status;
    private String body;

    public VaultClientException(int status, String body) {
        this.status = status;
        this.body = body;
    }

    public int getStatus() {
        return status;
    }

    public String getBody() {
        return body;
    }

    @Override
    public String toString() {
        return super.toString() + " code=" + status + " body=" + body;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy