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