Class AnomalyDetectorErrorException

  • All Implemented Interfaces:
    Serializable

    public final class AnomalyDetectorErrorException
    extends com.azure.core.exception.HttpResponseException
    Exception thrown for an invalid response with AnomalyDetectorError information.
    See Also:
    Serialized Form
    • Constructor Detail

      • AnomalyDetectorErrorException

        public AnomalyDetectorErrorException​(String message,
                                             com.azure.core.http.HttpResponse response)
        Initializes a new instance of the AnomalyDetectorErrorException class.
        Parameters:
        message - the exception message or the response content if a message is not available.
        response - the HTTP response.
      • AnomalyDetectorErrorException

        public AnomalyDetectorErrorException​(String message,
                                             com.azure.core.http.HttpResponse response,
                                             AnomalyDetectorError value)
        Initializes a new instance of the AnomalyDetectorErrorException 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 AnomalyDetectorError getValue()
        Overrides:
        getValue in class com.azure.core.exception.HttpResponseException