Package io.quarkus.vault.transit
Class VaultVerificationBatchException
- 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.VaultVerificationBatchException
-
- All Implemented Interfaces:
Serializable
public class VaultVerificationBatchException extends VaultBatchException
Batch exception thrown fromVaultTransitSecretEngine.verifySignature(String, List)if any error occurs. The exception contains a map of errors with the associated message, and a list of successful verifications. Note that a signature not matching an input is considered as an error, and will throw an exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VaultVerificationBatchException(String message, Map<VerificationRequest,VerificationResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<VerificationRequest,String>getErrors()List<VerificationRequest>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
-
VaultVerificationBatchException
public VaultVerificationBatchException(String message, Map<VerificationRequest,VerificationResult> results)
-
-
Method Detail
-
getErrors
public Map<VerificationRequest,String> getErrors()
-
getValid
public List<VerificationRequest> getValid()
-
-