Class IdentityErrorResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.azure.core.exception.AzureException
com.azure.core.exception.HttpResponseException
com.azure.communication.identity.models.IdentityErrorResponseException
- All Implemented Interfaces:
Serializable
public final class IdentityErrorResponseException
extends com.azure.core.exception.HttpResponseException
Exception thrown on phone number specific errors
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityErrorResponseException(String message, com.azure.core.http.HttpResponse response, IdentityError value) Initializes a new instance of the IdentityErrorResponseException class. -
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
-
IdentityErrorResponseException
public IdentityErrorResponseException(String message, com.azure.core.http.HttpResponse response, IdentityError value) Initializes a new instance of the IdentityErrorResponseException class.- 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:
getValuein classcom.azure.core.exception.HttpResponseException
-