Class KeyVaultAdministrationError

java.lang.Object
com.azure.security.keyvault.administration.models.KeyVaultAdministrationError

public final class KeyVaultAdministrationError extends Object
A class that represents an error occurred in a Key Vault operation.
  • Constructor Details

    • KeyVaultAdministrationError

      public KeyVaultAdministrationError(String code, String message, KeyVaultAdministrationError innerError)
      Creates an object that represents an error occurred in a Key Vault operation.
      Parameters:
      code - The error code.
      message - The error message.
      innerError - An Key Vault server-side error.
  • Method Details

    • getCode

      public String getCode()
      Get the error code.
      Returns:
      The error code.
    • getMessage

      public String getMessage()
      Get the error message.
      Returns:
      The error message.
    • getInnerError

      public KeyVaultAdministrationError getInnerError()
      Get the Key Vault server-side error.
      Returns:
      The Key Vault server-side error.