Show / Hide Table of Contents

Class RestApiException

Inheritance
object
Exception
RestApiException
RestApiException<TResult>
Implements
ISerializable
_Exception
Inherited Members
Exception.GetBaseException()
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.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Repository.Client
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public class RestApiException : Exception, ISerializable, _Exception

Constructors

RestApiException(string, int, string, IReadOnlyDictionary<string, IEnumerable<string>>, Exception)

Declaration
public RestApiException(string message, int statusCode, string response, IReadOnlyDictionary<string, IEnumerable<string>> headers, Exception innerException)
Parameters
Type Name Description
string message
int statusCode
string response
IReadOnlyDictionary<string, IEnumerable<string>> headers
Exception innerException

Properties

Headers

Declaration
public IReadOnlyDictionary<string, IEnumerable<string>> Headers { get; }
Property Value
Type Description
IReadOnlyDictionary<string, IEnumerable<string>>

Response

Declaration
public string Response { get; }
Property Value
Type Description
string

StatusCode

Declaration
public int StatusCode { get; }
Property Value
Type Description
int

Methods

ToString()

Creates and returns a string representation of the current exception.

Declaration
public override string ToString()
Returns
Type Description
string

A string representation of the current exception.

Overrides
Exception.ToString()

Implements

ISerializable
_Exception
In this article
Back to top Generated by DocFX