ErrorException 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. hardwaresecuritymodules. models. ErrorException
- com.
- com.
- com.
- com.
- java.
- java.
- java.
public final class ErrorException
extends ManagementException
Exception thrown for an invalid response with Error information.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorException(String message, HttpResponse response) |
Initializes a new instance of the Error |
| ErrorException(String message, HttpResponse response, Error 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
ErrorException
public ErrorException(String message, HttpResponse response)
Initializes a new instance of the ErrorException class.
Parameters:
ErrorException
public ErrorException(String message, HttpResponse response, Error value)
Initializes a new instance of the ErrorException class.
Parameters:
Method Details
getValue
public Error getValue()
Overrides:
ErrorException.getValue()