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
public final class KeyVaultAdministrationException
extends com.azure.core.exception.HttpResponseException
Exception thrown for an invalid response with
KeyVaultAdministrationError information.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKeyVaultAdministrationException(String message, com.azure.core.http.HttpResponse response) Creates a new instance of theKeyVaultAdministrationExceptionclass.KeyVaultAdministrationException(String message, com.azure.core.http.HttpResponse response, KeyVaultAdministrationError value) Creates a new instance ofKeyVaultAdministrationException. -
Method Summary
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponseMethods 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 theKeyVaultAdministrationExceptionclass.- Parameters:
message- The exception message or the response content if a message is not available.response- The HTTP response.
-
KeyVaultAdministrationException
public KeyVaultAdministrationException(String message, com.azure.core.http.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
Description copied from class:com.azure.core.exception.HttpResponseExceptionGets the deserialized HTTP response value.- Overrides:
getValuein classcom.azure.core.exception.HttpResponseException- Returns:
- The deserialized HTTP response value.
-