com.azure.communication.identity.models.IdentityErrorResponseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-identity Show documentation
Show all versions of azure-communication-identity Show documentation
This package contains APIs for application identity in Microsoft Azure Communication Services.
For this release, see notes - https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-identity/README.md and https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/communication/azure-communication-identity/CHANGELOG.md.
Microsoft Azure Communication Identity quickstart - https://docs.microsoft.com/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-java
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.communication.identity.models;
import com.azure.core.exception.HttpResponseException;
import com.azure.core.http.HttpResponse;
/**
* Exception thrown on phone number specific errors
*/
public final class IdentityErrorResponseException extends HttpResponseException {
/**
* Initializes a new instance of the IdentityErrorResponseException class.
*
* @param message the exception message or the response content if a message is not available.
* @param response the HTTP response.
* @param value the deserialized response value.
*/
public IdentityErrorResponseException(
String message, HttpResponse response, IdentityError value) {
super(message, response, value);
}
@Override
public IdentityError getValue() {
return (IdentityError) super.getValue();
}
}