OpenPetra
Free Administration Software for Non-Profits
|
Inventory functions for the OpenPetra Error Codes. More...
Static Public Member Functions | |
static void | Init () |
make sure we have empty static variables at the start of each web request More... | |
static ErrCodeInfo | RetrieveErrCodeInfo (string AErrorCode) |
Retrieves the ErrCodeInfo for a given Error Code. More... | |
static string | ListRegisteredTypes () |
Lists the Types that are registered to contain Error Codes. More... | |
static void | BuildErrorCodeInventory (Type AErrorCodesType) |
Populates the Dictionary ErrorCodeCatalogue from all public Constants of the Type that is passed in. More... | |
Static Public Attributes | |
static Dictionary< string, ErrCodeInfo > | ErrorCodeCatalogue = null |
Catalogue of all OpenPetra Error Codes. More... | |
static List< Type > | RegisteredTypes = null |
Contains all Types which are registered to contain Error Code constants. More... | |
Inventory functions for the OpenPetra Error Codes.
|
inlinestatic |
Populates the Dictionary ErrorCodeCatalogue from all public Constants of the Type that is passed in.
AErrorCodesType | Type that contains public error Constants. |
|
inlinestatic |
make sure we have empty static variables at the start of each web request
|
inlinestatic |
Lists the Types that are registered to contain Error Codes.
|
inlinestatic |
Retrieves the ErrCodeInfo for a given Error Code.
AErrorCode | Error Code. |
|
static |
Catalogue of all OpenPetra Error Codes.
Automatically created from all the public Constants of the Ict.Common.CommonErrorCodes Class and the 'Ict.Petra.Shared.PetraErrorCodes' Class when Method BuildErrorCodeInventory of this Class called!
|
static |
Contains all Types which are registered to contain Error Code constants.
IMPORTANT: Only Error Code Constants of Types which are registered can be used with Method M:ErrorCodes.GetErrorInfo(string)!