你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OdataErrorMainException Class

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 OdataErrorMainException class.

OdataErrorMainException(String message, HttpResponse response, OdataErrorMain value)

Initializes a new instance of the OdataErrorMainException class.

Method Summary

Modifier and Type Method and Description
OdataErrorMain getValue()

Methods inherited from HttpResponseException

Methods inherited from ManagementException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

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