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 withKeyVaultAdministrationError
information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyVaultAdministrationException(String message, com.azure.core.http.HttpResponse response)
Creates a new instance of theKeyVaultAdministrationException
class.KeyVaultAdministrationException(String message, com.azure.core.http.HttpResponse response, KeyVaultAdministrationError value)
Creates a new instance ofKeyVaultAdministrationException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyVaultAdministrationError
getValue()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
KeyVaultAdministrationException
public KeyVaultAdministrationException(String message, com.azure.core.http.HttpResponse response)
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, 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 Detail
-
getValue
public KeyVaultAdministrationError getValue()
- Overrides:
getValue
in classcom.azure.core.exception.HttpResponseException
-
-