io.quarkus.vault.transit.VaultEncryptionBatchException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-vault Show documentation
Show all versions of quarkus-vault Show documentation
Store your credentials securely in HashiCorp Vault
package io.quarkus.vault.transit;
import java.util.List;
import java.util.Map;
import io.quarkus.vault.VaultTransitSecretEngine;
import io.quarkus.vault.runtime.transit.EncryptionResult;
/**
* Batch exception thrown from {@link VaultTransitSecretEngine#encrypt(String, List)} if any error occurs.
* The exception contains a map of errors with the associated message, and a map of successful encryptions.
*/
public class VaultEncryptionBatchException extends VaultBatchException {
private Map results;
public VaultEncryptionBatchException(String message, Map results) {
super(message);
this.results = results;
}
public Map getErrors() {
return getErrors(results);
}
public Map getValid() {
return getValid(results);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy