Recombee API Client
Public Member Functions | Properties | List of all members
Recombee.ApiClient.ResponseException Class Reference

Exception thrown when a request did not succeed (did not return 200 or 201) More...

Inheritance diagram for Recombee.ApiClient.ResponseException:
Inheritance graph
Collaboration diagram for Recombee.ApiClient.ResponseException:
Collaboration graph

Public Member Functions

 ResponseException (Request request, System.Net.HttpStatusCode statusCode, string message)
 Create the exception More...
- Public Member Functions inherited from Recombee.ApiClient.ApiException
 ApiException ()
 ApiException (string message)
 ApiException (string message, Exception inner)


Request FailedRequest [get]
 Request which failed More...
System.Net.HttpStatusCode StatusCode [get]
 Obtained HTTP status code More...

Detailed Description

Exception thrown when a request did not succeed (did not return 200 or 201)

Constructor & Destructor Documentation

Recombee.ApiClient.ResponseException.ResponseException ( Request  request,
System.Net.HttpStatusCode  statusCode,
string  message 

Create the exception

requestRequest which caused the exception
statusCodeResulting status code from API
messageError message from the API

Property Documentation

Request Recombee.ApiClient.ResponseException.FailedRequest

Request which failed

System.Net.HttpStatusCode Recombee.ApiClient.ResponseException.StatusCode

Obtained HTTP status code

The documentation for this class was generated from the following file: