Table of Contents

Class ErrorGroups

Namespace
Apache.Ignite
Assembly
Apache.Ignite.dll

Represents a concept of error group. Error group defines a collection of errors that belong to a single semantic component. Each group can be identified by a name and an integer number that both must be unique across all error groups.

public static class ErrorGroups
Inheritance
ErrorGroups
Inherited Members

Fields

UnknownGroupName

Unknown error group name.

public const string UnknownGroupName = "UNKNOWN"

Field Value

string

Methods

GetErrorCode(int)

Gets error code extracted from the given full error code.

public static short GetErrorCode(int fullCode)

Parameters

fullCode int

Full error code.

Returns

short

Error code.

GetErrorPrefix(int)

Gets the group error prefix by code.

public static string GetErrorPrefix(int groupCode)

Parameters

groupCode int

Group code.

Returns

string

Group error prefix.

GetFullCode(short, short)

Gets the full error code from group and error codes.

public static int GetFullCode(short groupCode, short errorCode)

Parameters

groupCode short

Group code.

errorCode short

Error code.

Returns

int

Combined code.

GetGroupCode(int)

Returns group code extracted from the given full error code.

public static short GetGroupCode(int fullCode)

Parameters

fullCode int

Full error code.

Returns

short

Group code.

GetGroupName(int)

Gets the group name by code.

public static string GetGroupName(int groupCode)

Parameters

groupCode int

Group code.

Returns

string

Group name.