• Home
  • My Account
  • Docs
  • Catalog Browser
  • API Status
Show / Hide Table of Contents

Class ClientException

A base class for exceptions thrown by the WhenFreshApiClient.

Inheritance
object
Exception
ClientException
InvalidCredentialsException
MissingCredentialsException
HttpException
InternalErrorException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.StackTrace
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

Implements

ISerializable