Class SuperOfficeWebApiException
Namespace: SuperOffice.WebApi.Authorization.ExceptionsAssembly: SuperOffice.WebApi.Authorization.dll Thrown when bad things happen in the API. Contains the HTTP error and any body we can read.
Inheritance
object ← Exception ← SuperOfficeWebApiExceptionDerived
SuperOfficeWebApiUnauthorizedException, SuperOfficeWebApiWrongSubdomainExceptionImplements
ISerializableInherited Members
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
SuperOfficeWebApiException()
Default - all blankSuperOfficeWebApiException(string)
MessageParameters
message string
“halp!”
SuperOfficeWebApiException(SerializationInfo, StreamingContext)
Mandatory constructor to supportParameters
info SerializationInfo
context StreamingContext
SuperOfficeWebApiException(string, Exception)
WrapperParameters
message string
“Halp!”
innerException Exception
the real problem
SuperOfficeWebApiException(string, string, HttpResponseHeaders, string)
DetailsParameters
message string
“Halp!”
request string
HTTP Request that triggered problem
headers HttpResponseHeaders
HTTP Response headers from failed request. Might contain clues.
body string
body (if any) of response. Might contain JSON