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 Summary
Constructors Constructor Description KeyVaultAdministrationError(String code, String message, KeyVaultAdministrationError innerError)
Creates an object that represents an error occurred in a Key Vault operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the error code.KeyVaultAdministrationError
getInnerError()
Get the Key Vault server-side error.String
getMessage()
Get the error message.
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-