OdataErrorMainException 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. authorization. fluent. models. OdataErrorMainException
- com.
- com.
- com.
- com.
- java.
- java.
- java.
public final class OdataErrorMainException
extends ManagementException
Exception thrown for an invalid response with OdataErrorMain information.
Constructor Summary
Constructor | Description |
---|---|
OdataErrorMainException(String message, HttpResponse response) |
Initializes a new instance of the Odata |
OdataErrorMainException(String message, HttpResponse response, OdataErrorMain value) |
Initializes a new instance of the Odata |
Method Summary
Modifier and Type | Method and Description |
---|---|
Odata |
getValue() |
Methods inherited from HttpResponseException
Methods inherited from ManagementException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
addSuppressed
fillInStackTrace
getCause
getLocalizedMessage
getMessage
getStackTrace
getSuppressed
initCause
printStackTrace
printStackTrace
printStackTrace
setStackTrace
Constructor Details
OdataErrorMainException
public OdataErrorMainException(String message, HttpResponse response)
Initializes a new instance of the OdataErrorMainException class.
Parameters:
message
- the exception message or the response content if a message is not available.
response
- the HTTP response.
OdataErrorMainException
public OdataErrorMainException(String message, HttpResponse response, OdataErrorMain value)
Initializes a new instance of the OdataErrorMainException 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
public OdataErrorMain getValue()
Overrides:
OdataErrorMainException.getValue()Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java