Class MyAzureException

All Implemented Interfaces:
Serializable

public class MyAzureException extends HttpResponseException
A test exception.
See Also:
  • Constructor Details

    • MyAzureException

      public MyAzureException(String message, HttpResponse response, com.azure.core.test.implementation.entities.HttpBinJSON body)
      Creates an exception with the message, response, and body.
      Parameters:
      message - Message for the exception.
      response - HttpResponse associated with the service request exception.
      body - HttpResponse deserialized into a HttpBinJSON.
  • Method Details

    • getValue

      public com.azure.core.test.implementation.entities.HttpBinJSON getValue()
      Overrides:
      getValue in class HttpResponseException
      Returns:
      The deserialized HTTP response value.