Class ComputerVisionOcrErrorException

  • All Implemented Interfaces:
    Serializable

    public class ComputerVisionOcrErrorException
    extends com.microsoft.rest.RestException
    Exception thrown for an invalid response with ComputerVisionOcrError information.
    See Also:
    Serialized Form
    • Constructor Detail

      • ComputerVisionOcrErrorException

        public ComputerVisionOcrErrorException​(String message,
                                               retrofit2.Response<okhttp3.ResponseBody> response)
        Initializes a new instance of the ComputerVisionOcrErrorException class.
        Parameters:
        message - the exception message or the response content if a message is not available
        response - the HTTP response
      • ComputerVisionOcrErrorException

        public ComputerVisionOcrErrorException​(String message,
                                               retrofit2.Response<okhttp3.ResponseBody> response,
                                               ComputerVisionOcrError body)
        Initializes a new instance of the ComputerVisionOcrErrorException class.
        Parameters:
        message - the exception message or the response content if a message is not available
        response - the HTTP response
        body - the deserialized response body