次の方法で共有


ErrorDefinitionException Class

public final class ErrorDefinitionException
extends ManagementException

Exception thrown for an invalid response with ErrorDefinition information.

Constructor Summary

Constructor Description
ErrorDefinitionException(String message, HttpResponse response)

Initializes a new instance of the ErrorDefinitionException class.

ErrorDefinitionException(String message, HttpResponse response, ErrorDefinition value)

Initializes a new instance of the ErrorDefinitionException class.

Method Summary

Modifier and Type Method and Description
ErrorDefinition getValue()

Methods inherited from HttpResponseException

Methods inherited from ManagementException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

ErrorDefinitionException

public ErrorDefinitionException(String message, HttpResponse response)

Initializes a new instance of the ErrorDefinitionException class.

Parameters:

message - the exception message or the response content if a message is not available.
response - the HTTP response.

ErrorDefinitionException

public ErrorDefinitionException(String message, HttpResponse response, ErrorDefinition value)

Initializes a new instance of the ErrorDefinitionException 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 ErrorDefinition getValue()

Overrides:

ErrorDefinitionException.getValue()

Applies to