Class PermissionDeniedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- io.axoniq.dataprotection.cryptoengine.vault.PermissionDeniedException
-
- All Implemented Interfaces:
Serializable
public class PermissionDeniedException extends IOException
Exception that is thrown internally in the VaultCryptoEngine when a 403 response is returned from Vault. This class is made public for testing purposes, but shouldn't be used directly by the application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PermissionDeniedException(okhttp3.Response response)Create a new PermissionDeniedException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.ResponsegetResponse()Return the response that came from Vault-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-