Class PhoneNumberErrorResponseException

  • All Implemented Interfaces:
    Serializable

    public class PhoneNumberErrorResponseException
    extends com.azure.core.exception.HttpResponseException
    Exception thrown on phone number specific errors
    See Also:
    Serialized Form
    • Constructor Detail

      • PhoneNumberErrorResponseException

        public PhoneNumberErrorResponseException​(String message,
                                                 com.azure.core.http.HttpResponse response,
                                                 PhoneNumberError value)
        Initializes a new instance of the PhoneNumberErrorResponseException 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 Detail

      • getValue

        public PhoneNumberError getValue()
        Overrides:
        getValue in class com.azure.core.exception.HttpResponseException