Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Callbacks.ErrorReason Class Reference

The reason codes used to report error conditions. More...

Public Member Functions

override int GetHashCode ()
 Returns the hash code for the current error reason. More...
 
override bool Equals (object obj)
 Determines whether the given object is equal to the current error reason. More...
 
override string ToString ()
 Returns a string that represents the current error reason. More...
 

Static Public Member Functions

static ErrorReason FromValue (int value)
 Returns the error reason that is associated with the given value. More...
 

Static Public Attributes

static readonly ErrorReason COMMUNICATION_FAILURE
 Communication with the server failed. More...
 
static readonly ErrorReason SESSION_CLOSED
 Communication with the server failed because the session is closed. More...
 
static readonly ErrorReason REQUEST_TIME_OUT
 Communication with the server failed because a service request timed out. More...
 
static readonly ErrorReason ACCESS_DENIED
 The request was rejected because the caller has insufficient permissions. More...
 
static readonly ErrorReason UNSUPPORTED
 The request was rejected because the requested service is unsupported for this caller. More...
 
static readonly ErrorReason CALLBACK_EXCEPTION
 An application callback threw an exception. Check logs for more information. More...
 
static readonly ErrorReason INVALID_DATA
 
static readonly ErrorReason NO_SUCH_SESSION
 The session does not exist on the server. More...
 
static readonly ErrorReason INCOMPATIBLE_DATATYPE
 A datatype operation has failed due to incompatibility. More...
 
static readonly ErrorReason UNHANDLED_MESSAGE
 A message was not handled by the server. More...
 
static readonly ErrorReason CLUSTER_REPARTITION
 An operation on a replicated topic failed because the cluster was repartitioning due to a server starting, stopping, or failing. The session can retry the operation. More...
 
static readonly ErrorReason INCOMPATIBLE_STATE
 A topic update could not be performed because the topic is managed by a component (e.g. fan-out) which prohibits external updates. More...
 
static readonly ErrorReason TOPIC_TREE_REGISTRATION_CONFLICT
 A conflicting, pre-existing registration exists on the same branch of the topic tree. More...
 
static readonly ErrorReason HANDLER_CONFLICT
 A conflicting registration exists. More...
 
static readonly ErrorReason INVALID_PATH
 An invalid path was supplied. More...
 

Properties

int ReasonCode [get]
 Returns the code that uniquely identifies this reason. More...
 
string Description [get]
 Returns the error reason description. More...
 

Detailed Description

The reason codes used to report error conditions.

Since 5.1

Member Function Documentation

override bool PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.Equals ( object  obj)

Determines whether the given object is equal to the current error reason.

Parameters
objThe object to compare with the current error reason.
Returns
True if the given object is equal to the current error reason. Otherwise false.
static ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.FromValue ( int  value)
static

Returns the error reason that is associated with the given value.

Parameters
valueThe value that represents a error reason.
Returns
The error reason that is associated with the value . Or null.
override int PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.GetHashCode ( )

Returns the hash code for the current error reason.

Returns
The hash code for the current error reason.
override string PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.ToString ( )

Returns a string that represents the current error reason.

Returns
The string that represents the current error reason.

Member Data Documentation

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.ACCESS_DENIED
static
Initial value:
=
new ErrorReason( 103, "Access denied" )

The request was rejected because the caller has insufficient permissions.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.CALLBACK_EXCEPTION
static
Initial value:
=
new ErrorReason( 105, "An application callback threw an exception. Check logs for more information" )

An application callback threw an exception. Check logs for more information.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.CLUSTER_REPARTITION
static
Initial value:
=
new ErrorReason( 110, "The cluster was repartitioning and the request could not be routed." )

An operation on a replicated topic failed because the cluster was repartitioning due to a server starting, stopping, or failing. The session can retry the operation.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.COMMUNICATION_FAILURE
static
Initial value:
=
new ErrorReason( 100, "Communication with server failed" )

Communication with the server failed.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.HANDLER_CONFLICT
static
Initial value:
=
new ErrorReason( 201, "Conflict with existing handler" )

A conflicting registration exists.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.INCOMPATIBLE_DATATYPE
static
Initial value:
=
new ErrorReason( 108, "Datatype is incompatible" )

A datatype operation has failed due to incompatibility.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.INCOMPATIBLE_STATE
static
Initial value:
= new ErrorReason(
111,
"Topic operation not performed because it is managed by a component that prohibits external updates." )

A topic update could not be performed because the topic is managed by a component (e.g. fan-out) which prohibits external updates.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.INVALID_DATA
static
Initial value:
=
new ErrorReason( 106, "Invalid data." )
readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.INVALID_PATH
static
Initial value:
=
new ErrorReason( 202, "Invalid path" )

An invalid path was supplied.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.NO_SUCH_SESSION
static
Initial value:
=
new ErrorReason( 107, "No session was found" )

The session does not exist on the server.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.REQUEST_TIME_OUT
static
Initial value:
=
new ErrorReason( 102, "Request time out" )

Communication with the server failed because a service request timed out.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.SESSION_CLOSED
static
Initial value:
=
new ErrorReason( 101, "Session is closed" )

Communication with the server failed because the session is closed.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.TOPIC_TREE_REGISTRATION_CONFLICT
static
Initial value:
=
new ErrorReason( 200, "A conflicting, pre-existing registration exists on the same branch of the topic tree" )

A conflicting, pre-existing registration exists on the same branch of the topic tree.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.UNHANDLED_MESSAGE
static
Initial value:
=
new ErrorReason( 109, "A message was not handled" )

A message was not handled by the server.

readonly ErrorReason PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.UNSUPPORTED
static
Initial value:
=
new ErrorReason( 104, "Unsupported service" )

The request was rejected because the requested service is unsupported for this caller.

Property Documentation

string PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.Description
get

Returns the error reason description.

int PushTechnology.ClientInterface.Client.Callbacks.ErrorReason.ReasonCode
get

Returns the code that uniquely identifies this reason.


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