Class ErrorDefinitionException
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
- All Implemented Interfaces:
Serializable
public final class ErrorDefinitionException
extends com.azure.core.management.exception.ManagementException
Exception thrown for an invalid response with ErrorDefinition information.
- See Also:
-
Constructor Summary
ConstructorDescriptionErrorDefinitionException
(String message, com.azure.core.http.HttpResponse response) Initializes a new instance of the ErrorDefinitionException class.ErrorDefinitionException
(String message, com.azure.core.http.HttpResponse response, ErrorDefinition value) Initializes a new instance of the ErrorDefinitionException class. -
Method Summary
Methods inherited from class com.azure.core.management.exception.ManagementException
toString
Methods inherited from class com.azure.core.exception.HttpResponseException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ErrorDefinitionException
Initializes a new instance of the ErrorDefinitionException class.- Parameters:
message
- the exception message or the response content if a message is not available.response
- the HTTP response.
-
ErrorDefinitionException
public ErrorDefinitionException(String message, com.azure.core.http.HttpResponse response, ErrorDefinition value) Initializes a new instance of the ErrorDefinitionException 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 Details
-
getValue
- Overrides:
getValue
in classcom.azure.core.management.exception.ManagementException
-