Class SuperOfficeWebApiUnauthorizedException
Namespace: SuperOffice.WebApi.Authorization.ExceptionsAssembly: SuperOffice.WebApi.Authorization.dll Thrown when auth not accepted. Contains the HTTP error and headers and any body we can read.
Inheritance
object ← Exception ← SuperOfficeWebApiException ← SuperOfficeWebApiUnauthorizedExceptionImplements
ISerializableInherited Members
SuperOfficeWebApiException.Request, SuperOfficeWebApiException.Headers, SuperOfficeWebApiException.Body, Exception.GetBaseException(), Exception.ToString(), Exception.GetObjectData(SerializationInfo, StreamingContext), Exception.GetType(), Exception.Message, Exception.Data, Exception.InnerException, Exception.TargetSite, Exception.StackTrace, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.SerializeObjectState, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
SuperOfficeWebApiUnauthorizedException()
Default - all blankSuperOfficeWebApiUnauthorizedException(string)
MessageParameters
message string
“halp!”
SuperOfficeWebApiUnauthorizedException(string, Exception)
WrapperParameters
message string
“Halp!”
innerException Exception
the real problem
SuperOfficeWebApiUnauthorizedException(SerializationInfo, StreamingContext)
Mandatory constructor to supportParameters
info SerializationInfo
context StreamingContext
SuperOfficeWebApiUnauthorizedException(string, string, HttpResponseHeaders, string)
DetailsParameters
message string
“Halp!”
request string
HTTP Request that triggered problem
responseHeaders HttpResponseHeaders
HTTP Response headers from failed request. Might contain clues.
body string
body (if any) of response. Might contain JSON