public final class CallingServerErrorException
extends com.azure.core.exception.HttpResponseException
CallingServerError information.| Constructor and Description |
|---|
CallingServerErrorException(String message,
com.azure.core.http.HttpResponse response)
Initializes a new instance of the CallingServerResponseException class.
|
CallingServerErrorException(String message,
com.azure.core.http.HttpResponse response,
CallingServerError value)
Initializes a new instance of the CallingServerErrorException class.
|
| Modifier and Type | Method and Description |
|---|---|
CallingServerError |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CallingServerErrorException(String message, com.azure.core.http.HttpResponse response)
message - the exception message or the response content if a message is not available.response - the HTTP response.public CallingServerErrorException(String message, com.azure.core.http.HttpResponse response, CallingServerError value)
message - the exception message or the response content if a message is not available.response - the HTTP response.value - the deserialized response value.public CallingServerError getValue()
getValue in class com.azure.core.exception.HttpResponseExceptionVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.