The exception that is thrown when server of API returns error.
Inheritance Hierarchy
System Exception
Nemiro.OAuth RequestException
Nemiro.OAuth ApiException
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The ApiException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ApiException(String) | Obsolete.
Initializes a new instance of the ApiException class with a specified error message.
| |
ApiException(String, Exception) | Obsolete.
Initializes a new instance of the ApiException class with a specified error message and the exception that is the cause of this exception.
| |
ApiException(RequestResult, Exception) |
Initializes a new instance of the ApiException class with a specified RequestResult and the exception that is the cause of this exception.
| |
ApiException(RequestResult, String) |
Initializes a new instance of the ApiException class with a specified RequestResult and error message.
| |
ApiException(String, Byte , Exception) | Obsolete.
Initializes a new instance of the ApiException class with a specified server request result, content type and the exception that is the cause of this exception.
| |
ApiException(String, Byte , String) | Obsolete.
Initializes a new instance of the ApiException class with a specified server request result, content type and a error message.
| |
ApiException(String, String, Exception) | Obsolete.
Initializes a new instance of the ApiException class with a specified server request result, content type and the exception that is the cause of this exception.
| |
ApiException(String, String, String) | Obsolete.
Initializes a new instance of the ApiException class with a specified server request result, content type and a error message.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData |
Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from RequestException.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Properties
Name | Description | |
---|---|---|
ContentType |
Gets the content type of the response.
(Inherited from RequestException.) | |
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
HttpHeaders |
Gets the http headers of the response.
(Inherited from RequestException.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
RequestResult |
Instance of the RequestResult.
(Inherited from RequestException.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
StatusCode |
Gets the HTTP status code of the output returned to the client.
(Inherited from RequestException.) | |
TargetSite | (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
SerializeObjectState | (Inherited from Exception.) |
See Also