ErrorContractException 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. analytics. synapse. accesscontrol. models. ErrorContractException
- com.
- com.
- com.
- java.
- java.
- java.
public final class ErrorContractException
extends HttpResponseException
Exception thrown for an invalid response with ErrorContract information.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorContractException(String message, HttpResponse response) |
Initializes a new instance of the Error |
| ErrorContractException(String message, HttpResponse response, ErrorContract 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 java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ErrorContractException
public ErrorContractException(String message, HttpResponse response)
Initializes a new instance of the ErrorContractException class.
Parameters:
ErrorContractException
public ErrorContractException(String message, HttpResponse response, ErrorContract value)
Initializes a new instance of the ErrorContractException class.
Parameters:
Method Details
getValue
public ErrorContract getValue()
Overrides:
ErrorContractException.getValue()