public class ClientAuthenticationException extends HttpResponseException
Constructor and Description |
---|
ClientAuthenticationException(String message,
HttpResponse response)
Initializes a new instance of the
ClientAuthenticationException class. |
ClientAuthenticationException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the
ClientAuthenticationException class. |
ClientAuthenticationException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the
ClientAuthenticationException class. |
getResponse, getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClientAuthenticationException(String message, HttpResponse response)
ClientAuthenticationException
class.message
- The exception message or the response content if a message is not available.response
- The HTTP response with the authorization failure.public ClientAuthenticationException(String message, HttpResponse response, Object value)
ClientAuthenticationException
class.message
- The exception message or the response content if a message is not available.response
- The HTTP response with the authorization failure.value
- The deserialized HTTP response value.public ClientAuthenticationException(String message, HttpResponse response, Throwable cause)
ClientAuthenticationException
class.message
- The exception message or the response content if a message is not available.response
- The HTTP response with the authorization failure.cause
- The Throwable
which caused the creation of this exception.Copyright © 2021 Microsoft Corporation. All rights reserved.