Class ClientException
A base class for exceptions thrown by the WhenFreshApiClient.
Inheritance
ClientException
Implements
Inherited Members
Namespace: WhenFresh.Api.Client
Assembly: WhenFresh.Api.Client.dll
Syntax
public class ClientException : Exception, ISerializable
Constructors
ClientException()
A base class for exceptions thrown by the WhenFreshApiClient.
Declaration
public ClientException()
ClientException(string)
Initializes a new instance of the ClientException class with a specific message that describes the current exception.
Declaration
public ClientException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | A message that describes the current exception. |
ClientException(string, Exception)
Initializes a new instance of the ClientException class with a specific message that describes the current exception and an inner exception.
Declaration
public ClientException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | A message that describes the current exception. |
Exception | innerException | The inner exception. |