ErrorInfoException Class

public final class ErrorInfoException
extends ManagementException

Exception thrown for an invalid response with ErrorInfo information.

Constructor Summary

Constructor Description
ErrorInfoException(String message, HttpResponse response)

Initializes a new instance of the ErrorInfoException class.

ErrorInfoException(String message, HttpResponse response, ErrorInfo value)

Initializes a new instance of the ErrorInfoException class.

Method Summary

Modifier and Type Method and Description
ErrorInfo getValue()

Methods inherited from HttpResponseException

Methods inherited from ManagementException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

ErrorInfoException

public ErrorInfoException(String message, HttpResponse response)

Initializes a new instance of the ErrorInfoException class.

Parameters:

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

ErrorInfoException

public ErrorInfoException(String message, HttpResponse response, ErrorInfo value)

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

Overrides:

ErrorInfoException.getValue()

Applies to