OpenPetra
Free Administration Software for Non-Profits
Ict.Common.CommonErrorCodes Class Reference

More...

Static Public Attributes

const String ERR_INVALIDDATE = "GENC.00001V"
 Invalid date. More...
 
const String ERR_NOUNDEFINEDDATE = "GENC.00002V"
 Date may not be empty. More...
 
const String ERR_NOFUTUREDATE = "GENC.00003V"
 Future date not allowed. More...
 
const String ERR_NOPASTDATE = "GENC.00004V"
 Past date not allowed. More...
 
const String ERR_INVALIDNUMBER = "GENC.00005V"
 Invalid number entered. More...
 
const String ERR_INVALIDVALUE = "GENC.00019V"
 Invalid value entered. More...
 
const String ERR_INCONGRUOUSNUMBERS = "GENC.00006V"
 Invalid numbers entered (numbers do not conform to a certain rule). More...
 
const String ERR_INCONGRUOUSSTRINGS = "GENC.00007V"
 Invalid numbers entered (numbers do not conform to a certain rule). More...
 
const String ERR_NOEMPTYSTRING = "GENC.00008V"
 Alphanumeric value may not be empty. More...
 
const String ERR_INFORMATIONMISSING = "GENC.00009V"
 "Information missing." More...
 
const String ERR_NONULL = "GENC.00010V"
 Value may not be null. More...
 
const String ERR_STRINGTOOLONG = "GENC.00011V"
 Alphanumeric value is too long. More...
 
const String ERR_DECIMALPRECISIONLOSSROUNDING = "GENC.00012N"
 Invalid number entered. More...
 
const String ERR_DATENOTINDATERANGE = "GENC.00013V"
 Date is not within date range. More...
 
const String ERR_UNREALISTICDATE_ERROR = "GENC.00014V"
 Date must have a sensible value (e.g. not too far in the past). More...
 
const String ERR_INVALIDINTEGERTIME = "GENC.00015V"
 Integer time must be in range 0..86399. More...
 
const String ERR_DUPLICATE_RECORD = "GENC.00016V"
 User has created a duplicate record. More...
 
const String ERR_RECORD_DELETION_NOT_POSSIBLE_REFERENCED = "GENC.00018V"
 User tried to delete a record that is referenced from another DB Table. More...
 
const String ERR_MISSINGEMAILCONFIGURATION = "GENC.00020V"
 Missing configuration for sending Emails. More...
 
const String ERR_RECORD_DELETION_NOT_POSSIBLE_BY_DESIGN = "GENC.00021V"
 User tried to delete a record that is designed to be non-deletable. More...
 
const String ERR_SAVING_OF_MODIFIED_DATA_IN_SCREEN_NOT_ALLOWED = "GENC.00022E"
 User tried to save data but the user doesn't have the necessary permission to do this. More...
 

Detailed Description

Central Inventory of application-independent Error Codes.

The data that goes alongside an error code in this inventory can be programmatically accessed using one of the static 'Helper Methods' of the ErrorCodes Class!

Error codes are used in applications because the message text and message title may be translated into any language and its meaning will be unclear to support staff who don't speak the language the message is shown in. The only way they can identify the error message in such a case is by looking up the error code.

Member Data Documentation

◆ ERR_DATENOTINDATERANGE

const String Ict.Common.CommonErrorCodes.ERR_DATENOTINDATERANGE = "GENC.00013V"
static

Date is not within date range.

◆ ERR_DECIMALPRECISIONLOSSROUNDING

const String Ict.Common.CommonErrorCodes.ERR_DECIMALPRECISIONLOSSROUNDING = "GENC.00012N"
static

Invalid number entered.

◆ ERR_DUPLICATE_RECORD

const String Ict.Common.CommonErrorCodes.ERR_DUPLICATE_RECORD = "GENC.00016V"
static

User has created a duplicate record.

◆ ERR_INCONGRUOUSNUMBERS

const String Ict.Common.CommonErrorCodes.ERR_INCONGRUOUSNUMBERS = "GENC.00006V"
static

Invalid numbers entered (numbers do not conform to a certain rule).

◆ ERR_INCONGRUOUSSTRINGS

const String Ict.Common.CommonErrorCodes.ERR_INCONGRUOUSSTRINGS = "GENC.00007V"
static

Invalid numbers entered (numbers do not conform to a certain rule).

◆ ERR_INFORMATIONMISSING

const String Ict.Common.CommonErrorCodes.ERR_INFORMATIONMISSING = "GENC.00009V"
static

"Information missing."

◆ ERR_INVALIDDATE

const String Ict.Common.CommonErrorCodes.ERR_INVALIDDATE = "GENC.00001V"
static

Invalid date.

◆ ERR_INVALIDINTEGERTIME

const String Ict.Common.CommonErrorCodes.ERR_INVALIDINTEGERTIME = "GENC.00015V"
static

Integer time must be in range 0..86399.

◆ ERR_INVALIDNUMBER

const String Ict.Common.CommonErrorCodes.ERR_INVALIDNUMBER = "GENC.00005V"
static

Invalid number entered.

◆ ERR_INVALIDVALUE

const String Ict.Common.CommonErrorCodes.ERR_INVALIDVALUE = "GENC.00019V"
static

Invalid value entered.

◆ ERR_MISSINGEMAILCONFIGURATION

const String Ict.Common.CommonErrorCodes.ERR_MISSINGEMAILCONFIGURATION = "GENC.00020V"
static

Missing configuration for sending Emails.

◆ ERR_NOEMPTYSTRING

const String Ict.Common.CommonErrorCodes.ERR_NOEMPTYSTRING = "GENC.00008V"
static

Alphanumeric value may not be empty.

◆ ERR_NOFUTUREDATE

const String Ict.Common.CommonErrorCodes.ERR_NOFUTUREDATE = "GENC.00003V"
static

Future date not allowed.

◆ ERR_NONULL

const String Ict.Common.CommonErrorCodes.ERR_NONULL = "GENC.00010V"
static

Value may not be null.

◆ ERR_NOPASTDATE

const String Ict.Common.CommonErrorCodes.ERR_NOPASTDATE = "GENC.00004V"
static

Past date not allowed.

◆ ERR_NOUNDEFINEDDATE

const String Ict.Common.CommonErrorCodes.ERR_NOUNDEFINEDDATE = "GENC.00002V"
static

Date may not be empty.

◆ ERR_RECORD_DELETION_NOT_POSSIBLE_BY_DESIGN

const String Ict.Common.CommonErrorCodes.ERR_RECORD_DELETION_NOT_POSSIBLE_BY_DESIGN = "GENC.00021V"
static

User tried to delete a record that is designed to be non-deletable.

◆ ERR_RECORD_DELETION_NOT_POSSIBLE_REFERENCED

const String Ict.Common.CommonErrorCodes.ERR_RECORD_DELETION_NOT_POSSIBLE_REFERENCED = "GENC.00018V"
static

User tried to delete a record that is referenced from another DB Table.

◆ ERR_SAVING_OF_MODIFIED_DATA_IN_SCREEN_NOT_ALLOWED

const String Ict.Common.CommonErrorCodes.ERR_SAVING_OF_MODIFIED_DATA_IN_SCREEN_NOT_ALLOWED = "GENC.00022E"
static

User tried to save data but the user doesn't have the necessary permission to do this.

◆ ERR_STRINGTOOLONG

const String Ict.Common.CommonErrorCodes.ERR_STRINGTOOLONG = "GENC.00011V"
static

Alphanumeric value is too long.

◆ ERR_UNREALISTICDATE_ERROR

const String Ict.Common.CommonErrorCodes.ERR_UNREALISTICDATE_ERROR = "GENC.00014V"
static

Date must have a sensible value (e.g. not too far in the past).


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