Class ConfluenceException
This wraps the HttpRequestException with Confluence specific informationen
Inheritance
System.Object
System.Exception
System.Net.Http.HttpRequestException
ConfluenceException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Dapplo.Confluence
Assembly: Dapplo.Confluence.dll
Syntax
public class ConfluenceException : HttpRequestException
Constructors
| Improve this Doc View SourceConfluenceException(HttpStatusCode, Error)
Constructor with a HttpStatus code and an Error object
Declaration
public ConfluenceException(HttpStatusCode httpStatusCode, Error error = null)
Parameters
Type | Name | Description |
---|---|---|
HttpStatusCode | httpStatusCode | HttpStatusCode |
Error | error | Error |
ConfluenceException(HttpStatusCode, String)
Constructor with a HttpStatus code and an error response
Declaration
public ConfluenceException(HttpStatusCode httpStatusCode, string response)
Parameters
Type | Name | Description |
---|---|---|
HttpStatusCode | httpStatusCode | HttpStatusCode |
System.String | response | string with the error response message |