Package io.quarkus.vault.transit
Class VaultEncryptionBatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.quarkus.vault.VaultException
-
- io.quarkus.vault.transit.VaultBatchException
-
- io.quarkus.vault.transit.VaultEncryptionBatchException
-
- All Implemented Interfaces:
Serializable
public class VaultEncryptionBatchException extends VaultBatchException
Batch exception thrown fromVaultTransitSecretEngine.encrypt(String, List)if any error occurs. The exception contains a map of errors with the associated message, and a map of successful encryptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VaultEncryptionBatchException(String message, Map<EncryptionRequest,EncryptionResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<EncryptionRequest,String>getErrors()Map<EncryptionRequest,String>getValid()-
Methods inherited from class io.quarkus.vault.transit.VaultBatchException
filter, getErrors, getValid
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
VaultEncryptionBatchException
public VaultEncryptionBatchException(String message, Map<EncryptionRequest,EncryptionResult> results)
-
-
Method Detail
-
getErrors
public Map<EncryptionRequest,String> getErrors()
-
getValid
public Map<EncryptionRequest,String> getValid()
-
-