ErrorDefinitionException 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.
azure. resourcemanager. applicationinsights. models. ErrorDefinitionException
- com.
- com.
- com.
- com.
- java.
- java.
- java.
public final class ErrorDefinitionException
extends ManagementException
Exception thrown for an invalid response with ErrorDefinition information.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorDefinitionException(String message, HttpResponse response) |
Initializes a new instance of the Error |
| ErrorDefinitionException(String message, HttpResponse response, ErrorDefinition value) |
Initializes a new instance of the Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Error |
getValue() |
Methods inherited from HttpResponseException
Methods inherited from ManagementException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ErrorDefinitionException
public ErrorDefinitionException(String message, HttpResponse response)
Initializes a new instance of the ErrorDefinitionException class.
Parameters:
ErrorDefinitionException
public ErrorDefinitionException(String message, HttpResponse response, ErrorDefinition value)
Initializes a new instance of the ErrorDefinitionException class.
Parameters:
Method Details
getValue
public ErrorDefinition getValue()
Overrides:
ErrorDefinitionException.getValue()