Show / Hide Table of Contents

Class ServerException

ServerException is thrown if the analytics server has received the request but did not process the request due to some error. For example if authorization fails.

Inheritance
object
Exception
ServerException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: ZohoAnalytics
Assembly: ZohoAnalytics.dll
Syntax
public sealed class ServerException : Exception, ISerializable

Methods

GetErrorCode()

Gets the error code.

Declaration
public int GetErrorCode()
Returns
Type Description
int

The error code.

GetErrorMessage()

Gets the error message.

Declaration
public string GetErrorMessage()
Returns
Type Description
string

The error message.

GetHTTPStatusCode()

Gets the HTTP status code.

Declaration
public int GetHTTPStatusCode()
Returns
Type Description
int

The HTTP status code.

Implements

ISerializable
In This Article