ManagementException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
azure. core. exception. AzureException - com.
azure. core. exception. HttpResponseException - com.
azure. core. management. exception. ManagementException
- com.
- com.
- com.
- java.
- java.
- java.
public class ManagementException
extends HttpResponseException
Exception thrown for an invalid response with custom error information.
Constructor Summary
Constructor | Description |
---|---|
ManagementException(String message, HttpResponse response) |
Initializes a new instance of the ManagementException class. |
ManagementException(String message, HttpResponse response, ManagementError value) |
Initializes a new instance of the ManagementException class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Management |
getValue() |
String | toString() |
Methods inherited from HttpResponseException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ManagementException
public ManagementException(String message, HttpResponse response)
Initializes a new instance of the ManagementException class.
Parameters:
ManagementException
public ManagementException(String message, HttpResponse response, ManagementError value)
Initializes a new instance of the ManagementException class.
Parameters:
Method Details
getValue
public ManagementError getValue()
Overrides:
ManagementException.getValue()toString
public String toString()
Overrides:
ManagementException.toString()Applies to
Azure SDK for Java