.",
"416:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: First operand of scale function must be of type MDD.",
"417:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Second operand of scale function must be either of type Point, Integer or Float.",
"418:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Second operand of bit function must be of integral type.",
"419:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Could not scale the domain.",
"420:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Extend operation with open bounds is not supported.",
"421:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Target interval of extend operation does not cover MDD to be extended.",
"422:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Second operand of extend function must be an minterval.",
"499:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: Language feature is not supported.",
"510:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: The argument is outside the function domain.",
"511:Execution error $errorNo in line $lineNo, column $columnNo, near token $token: The function result exceeds the allowed range.",
"700:Admin error: General error creating RasDaMan database.",
"701:Admin error: Error creating table in tablespace RAS_DB_SCHEMA.",
"702:Admin error: Error inserting into table RAS_COUNTERS.",
"703:Admin error: Error creating table in tablespace RAS_DB_BLOB.",
"704:Admin error: Error creating index in tablespace RAS_DB_INDEX.",
"705:Admin error: Error inserting into table RAS_BASETYPENAMES.",
"706:Admin error: Error creating table in default tablespace.",
"707:Admin error: Error on COMMIT creating RasDaMan database.",
"708:Admin error: Database to be created already exists.",
"800:RasManager Error: Could not connect to RasServer $url.",
"801:RasManager Error: System overloaded, please try again later.",
"802:RasManager Error: Access denied, incorrect user/password.",
"803:RasManager Error: Access denied, no permission for operation.",
"804:RasManager Error: Access denied, capability refused.",
"805:RasManager Error: No suitable servers started, call administrator.",
"806:RasManager Error: Write transaction in progress, please retry again later.",
"807:RasManager Error: Requested database unknown.",
"808:RasManager Error: Request format error.",
"820:RNP Error: First parameter has to be the clientID (clientcomm internal).",
"821:RNP Error: Client ID invalid, probably a timeout occurred.",
"822:RNP Error: Unknown command in client request.",
"830:base DBMS Error: Cannot connect to base DBMS server (invalid connect string in rasmgr config file?).",
"900:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: Type in typedef definition not supported.",
"901:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: Set template type has to be a type reference.",
"902:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: Type reference not found.",
"903:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: MDD base type has to be a type reference or an atomic type.",
"904:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: MDD type must have a domain specification.",
"905:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: Struct type name exists already.",
"906:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: MDD type name exists already.",
"907:Evaluation error $errorNo in line $lineNo, column $columnNo, near token $token: Set type name exists already.",
"950:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update target must be an iterator variable.",
"951:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update source must be an expression resulting in an r_Marray<>.",
"952:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update base type does not match MDD base type.",
"953:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update domain is not within MDD definition domain.",
"954:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update target expression must be an assignable value (l-value).",
"955:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Collection name exists already.",
"956:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Unknown collection type.",
"957:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Unknown collection name.",
"958:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Allocation of new oid failed.",
"959:Update error $errorNo in line $lineNo, column $columnNo, near token $token: MDD and collection types are incompatible.",
"960:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Insert expression must be of type MDD.",
"961:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update domain must be of type Minterval.",
"962:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Number of update intervals must match source dimensionaltiy.",
"963:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Update domain dimensionality must match target MDD dimensionaltiy.",
"964:Update error $errorNo in line $lineNo, column $columnNo, near token $token: Type is not persistent.",
"965:Update error $errorNo: MDD type $token unknown.",
"966:Update error $errorNo: MDD type is missing.",
"1000:General error: RasDaMan tables inconsistent.",
"1001:General error: RasDaMan server incompatible with database.",
"1002:General error: Blob with zero length encountered.",
"1003:General error: Tile container for TC index not found.",
"1004:General error: Index of MDD Object is not defined.",
"1005:General error: Storage structure of MDD Object is not defined.",
"1006:General error: Unknown index type requested.",
"1007:General error: Illegal index type requested.",
"1008:General error: No valid collection type passed to MDD collection.",
"1009:General error: MDD object not valid or not persistent.",
"1010:General error: No valid MDD type passed to MDD object.",
"1011:General error: An illegal state has been reached. This is caused by a compiler bug or a library bug.",
"1012:General error: Invalid collection type passed to MDD collection.",
"1013:General error: The name of the type is too long.",
"1014:General error: Invalid name of the object, should contain only [a-zA-Z0-9_]",
"2000:Internal error: There seems to be another database open.",
"2001:Internal error: Invalid OId type encountered.",
"2002:Internal error: Entry in user defined type not found.",
"2003:Internal error: Entry in user defined type out of bounds.",
"2004:Internal error: Transient index used instead of persistent index.",
"2005:Internal error: Index returned tiles multiple times.",
"2006:Internal error: Tile was not inserted into index.",
"2007:Internal error: Transient index access out of bounds.",
"2008:Internal error: MDD object exists multiple times in cache.",
"2009:Internal error: Some tile(s) were not inserted into the MDD object.",
"2010:Internal error: A conversion module returned an incorrect base type.",
"2011:Internal error: The collection type has no element type.",
"2012:Internal error: The marray type has no base type.",
"2013:Internal error: The property has no base type.",
"2014:Internal error: The scalar was passed a NULL value.",
"2015:Internal error: The index node that had to be split was not found in its parent.",
"2016:Internal error: The index found more cells than allowed.",
"2017:Internal error: The storage layout is incompatible with the index entries.",
"2018:Internal error: Object does not support swapping.",
"2019:Internal error: Error encountered during swapping.",
"2020:Internal error: Binary export for object is not supported.",
"2021:Internal error: Binary import for object is not supported.",
"2022:Internal error: Operands and result types don't match.",
"3000:Format conversion error: DEM area does not contain any non-null value, empty result generated.",
"10000:Unexpected internal server error.",
/** ***********************************************************
*
*
* SOURCE: RasErrorTexts.template2
*
* PACKAGE: rasj.global
* CLASS: RasErrorTexts
*
* PURPOSE:
* third part of three constituting RasErrorTexts.java:
* - part 1: Java src
* - part 2: generated from errtxts file
* - part 3: Java src
*
*
*
*********************************************************** */
// end of error code array, start of RasErrorTexts.template2
"" // this last, empty string is needed because the last one, generated from errtxts, has a "," at the end
};
public static String getErrorMessage( int errNo )
{
StringBuffer buf;
String prefix = String.valueOf(errNo)+":";
int index = 0;
String retVal = null;
while(index < errorMessages.length-1) // last string is empty, see above
{
if(errorMessages[index].startsWith(prefix))
{
buf = new StringBuffer(errorMessages[index]);
index = errorMessages[index].indexOf(":");
buf.delete(0,index+1);
retVal = buf.toString();
index = errorMessages.length+1;
}
else
index++;
}
if(retVal == null)
retVal = "No error message available for error number " + errNo + ".";
return retVal;
}
}