Class 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 Detail

      • PermissionDeniedException

        public PermissionDeniedException​(okhttp3.Response response)
        Create a new PermissionDeniedException
        Parameters:
        response - the response from HashiCorp Vault
    • Method Detail

      • getResponse

        public okhttp3.Response getResponse()
        Return the response that came from Vault
        Returns:
        the response