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, Int32, 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
Int32 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
Int32

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Exception.ToString()

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
In This Article
Back to top Generated by DocFX