次の方法で共有


AnnotationErrorException Class

public final class AnnotationErrorException
extends ManagementException

Exception thrown for an invalid response with AnnotationError information.

Constructor Summary

Constructor Description
AnnotationErrorException(String message, HttpResponse response)

Initializes a new instance of the AnnotationErrorException class.

AnnotationErrorException(String message, HttpResponse response, AnnotationError value)

Initializes a new instance of the AnnotationErrorException class.

Method Summary

Modifier and Type Method and Description
AnnotationError getValue()

Methods inherited from HttpResponseException

Methods inherited from ManagementException

Methods inherited from java.lang.Object

Methods inherited from java.lang.Throwable

Constructor Details

AnnotationErrorException

public AnnotationErrorException(String message, HttpResponse response)

Initializes a new instance of the AnnotationErrorException class.

Parameters:

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

AnnotationErrorException

public AnnotationErrorException(String message, HttpResponse response, AnnotationError value)

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

Overrides:

AnnotationErrorException.getValue()

Applies to