68 #pragma warning( disable : 4290 )
81 #define ERRORTEXT_PATH "/bin"
84 #define ERRORTEXT_FILE "errtxts"
160 r_Error(
kind the_kind,
unsigned int newErrorNo = 0 );
163 r_Error(
unsigned int errorno );
169 virtual const
char*
what() const throw();
240 static
std::list<
std::pair<
std::pair<
int,
char>,
char*> > *errorTexts;
241 static
bool errorTextsLoaded;
397 inline unsigned int get_lineno()
const;
400 inline unsigned int get_columnno()
const;
402 inline const char* get_token()
const;
415 unsigned int columnNo;
464 r_Ebase_dbms(
const long& newErrNum,
const char* newErrTxt );
470 r_Ebase_dbms(
kind newTheKind,
unsigned long newErrNum,
const char* myStr );
479 virtual const char*
what()
const throw();
516 #define MEMMORYALLOCATIONERROR 66
517 #define INTERNALDLPARSEERROR 100
519 #define RASTYPEUNKNOWN 209
520 #define BASETYPENOTSUPPORTED 210
521 #define RPCCOMMUNICATIONFAILURE 212
522 #define SYSTEM_COLLECTION_NOT_WRITABLE 216
523 #define SYSTEM_COLLECTION_HAS_NO_OID 217
524 #define CONVERSIONFORMATNOTSUPPORTED 218
525 #define TILESIZETOOSMALL 219
526 #define STORAGERLAYOUTINCOMPATIBLEWITHGMARRAY 220
527 #define DOMAINUNINITIALISED 221
528 #define NOTANMARRAYTYPE 222
529 #define RCINDEXWITHINCOMPATIBLEMARRAYTYPE 223
530 #define TILECONFIGMARRAYINCOMPATIBLE 224
531 #define RCINDEXWITHOUTREGULARTILING 225
532 #define UDFBODYTOOLARGE 226
533 #define POLYGONWRONGPOINTDIMENSION 227
534 #define POLYGONWRONGINITSTRING 228
535 #define QUERYPARAMETERINVALID 229
536 #define ILLEGALARGUMENT 230
537 #define MARRAYHASNOBASETYPE 231
538 #define INTERVALOPEN 232
539 #define INTERVALSWITHDIFFERENTDIMENSION 233
540 #define TILINGPARAMETERNOTCORRECT 234
541 #define CONNECTIONCLOSED 235
542 #define COMPRESSIONFAILED 236
543 #define CLIENTCOMMUICATIONFAILURE 237
544 #define BASETYPENOTSUPPORTEDBYOPERATION 238
545 #define OVERLAYPATTERNTOOSMALL 239
546 #define INSERTINTORCINDEX 240
547 #define NOTILINGDEFINED 241
548 #define UNSATIFIEDMDDCONSTANT 373
549 #define DATABASE_EXISTS 708
550 #define NO_PERMISSION_FOR_OPERATION 803
551 #define CAPABILITY_REFUSED 804
552 #define DATABASE_INCONSISTENT 1000
553 #define DATABASE_INCOMPATIBLE 1001
554 #define ZERO_LENGTH_BLOB 1002
555 #define TILE_CONTAINER_NOT_FOUND 1003
556 #define INDEX_OF_MDD_IS_NULL 1004
557 #define STORAGE_OF_MDD_IS_NULL 1005
558 #define UNKNOWN_INDEX_TYPE 1006
559 #define ILLEGAL_INDEX_TYPE 1007
560 #define COLLTYPE_NULL 1008
561 #define MDD_NOT_VALID 1009
562 #define MDDTYPE_NULL 1010
563 #define ILLEGALSTATEREACHED 1011
564 #define COLLECTIONTYPEISNULL 1012
565 #define TYPENAMEISTOOLONG 1013
566 #define INVALIDOBJECTNAME 1014
567 #define DATABASE_OPEN 2000
568 #define INVALID_OIDTYPE 2001
569 #define STRUCTTYPE_ELEMENT_UNKNOWN 2002
570 #define STRUCTTYPE_ELEMENT_OUT_OF_BOUNDS 2003
571 #define TRANSIENT_INDEX_USED_AS_PERSISTENT 2004
572 #define TILE_MULTIPLE_TIMES_RETRIEVED 2005
573 #define TILE_NOT_INSERTED_INTO_INDEX 2006
574 #define TRANSIENT_INDEX_OUT_OF_BOUNDS 2007
575 #define MDD_EXISTS_MULTIPLE_TIMES 2008
576 #define DATA_NOT_INSERTED_COMPLETELY 2009
577 #define CONVERSION_RETURNED_WRONG_TYPE 2010
578 #define COLLECTIONTYPEHASNOELEMENTTYPE 2011
579 #define MARRAYTYPEHASNOELEMENTTYPE 2012
580 #define PROPERTYTYPEHASNOELEMENTTYPE 2013
581 #define SCALARWASPASSEDNULLTYPE 2014
582 #define INDEXNOTFOUNDINPARENT 2015
583 #define INDEXEXHAUSTEDAREA 2016
584 #define LAYOUTALGORITHMPROBLEM 2017
585 #define OBJECTDOESNOTSUPPORTSWAPING 2018
586 #define ERRORDURINGSWAPING 2019
587 #define BINARYEXPORTNOTSUPPORTEDFOROBJECT 2020
588 #define BINARYIMPORTNOTSUPPORTEDFOROBJECT 2021
589 #define OPERANDSRESULTTYPESNOMATCH 2022
590 #define TRYINGTOINFERHOOKFROMNULLNODE 2023
591 #define QTNODETYPEPARENTDOESNOTEXIST 2024
593 #include "raslib/error.icc"
virtual const char * what() const
get an error description
static void initTextTable()
read error text file into text table
static r_Error * getAnyError(char *serErr)
This function parses a serialised error.
unsigned int get_errorno() const
void setTextParameter(const char *parameterName, int value)
replace the specified parameter by the integer value
virtual ~r_Error()
destructor
char * text
Definition: error.hh:97
int num
Definition: error.hh:95
virtual void resetErrorText()
reset error text
int r_Range
Definition: mddtypes.hh:100
r_Error()
default constructor
unsigned int errorNo
attribute storing the number of the error
Definition: error.hh:229
unsigned int r_Dimension
Definition: mddtypes.hh:118
error information
Definition: error.hh:93
kind theKind
attribute storing the error kind
Definition: error.hh:226
kind
error kinds
Definition: error.hh:101
virtual char * serialiseError()
used to transfer exceptions of kind r_Error_SerialisableException to the client.
char * errorText
attribute storing the error description text
Definition: error.hh:223
char kind
Definition: error.hh:96
static void freeTextTable()
free the text table again
const r_Error & operator=(const r_Error &obj)
assignment operator
void setErrorTextOnNumber()
set error text according to the actual error number
void setErrorTextOnKind()
set error text according to the actual error kind