Class KeyVaultAdministrationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.core.exception.HttpResponseException
com.azure.security.keyvault.administration.models.KeyVaultAdministrationException
- All Implemented Interfaces:
Serializable
Exception thrown for an invalid response with
KeyVaultAdministrationError
information.- See Also:
-
Constructor Summary
ConstructorDescriptionKeyVaultAdministrationException
(String message, HttpResponse response) Creates a new instance of theKeyVaultAdministrationException
class.KeyVaultAdministrationException
(String message, HttpResponse response, KeyVaultAdministrationError value) Creates a new instance ofKeyVaultAdministrationException
. -
Method Summary
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KeyVaultAdministrationException
Creates a new instance of theKeyVaultAdministrationException
class.- Parameters:
message
- The exception message or the response content if a message is not available.response
- The HTTP response.
-
KeyVaultAdministrationException
public KeyVaultAdministrationException(String message, HttpResponse response, KeyVaultAdministrationError value) Creates a new instance ofKeyVaultAdministrationException
.- Parameters:
message
- The exception message or the response content if a message is not available.response
- The HTTP response.value
- The deserialized response value.
-
-
Method Details
-
getValue
- Overrides:
getValue
in classHttpResponseException
- Returns:
- The deserialized HTTP response value.
-