Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

glite::rgma::ErrorMessages Class Reference

#include <ErrorMessages.h>

List of all members.

Static Public Attributes

const std::string API = "API"
const std::string SERVLET = "Servlet"
const std::string MSG1 = "Unrecognised Servlet Path: "
const std::string MSG2 = "Invalid tableName: "
const std::string MSG3 = "Cannot translate tableId/columnName pair: "
const std::string MSG4 = "Cannot find tableName/columnName in the Schema DB: "
const std::string MSG5 = "Cannot get table info for tableId: "
const std::string MSG6 = "Invalid parameter: "
const std::string MSG7 = "Cannot connect to servlet: "
const std::string MSG8 = "No xml returned"
const std::string MSG9 = "Cannot register CircularBufferProducer for table: "
const std::string MSG10 = "Invalid flag: "
const std::string MSG11 = "Cannot find or open properties file: "
const std::string MSG12 = "Error setting Buffer Size: "
const std::string MSG13 = "Nothing there to pop for consumerId: "
const std::string MSG14 = "Unsupported column type: "
const std::string MSG15 = "Cannot register producer: "
const std::string MSG16 = "Cannot get fixed columns: "
const std::string MSG17 = "Invalid query: "
const std::string MSG18 = "Cannot get producer connection for: "
const std::string MSG19 = "Invalid tuple: "
const std::string MSG20 = "Cannot get producer info for producerURL/producerId: "
const std::string MSG21 = "Invalid minRetentionPeriod: "
const std::string MSG22 = "Cannot query with NOT"
const std::string MSG23 = "Joins are not yet supported unless you specify the producer manually"
const std::string MSG24 = "Cannot create database: "
const std::string MSG25 = "Cannot drop database: "
const std::string MSG26 = "Non-integer parameter: "
const std::string MSG27 = "Exception in ConsumerThread for table: "
const std::string MSG28 = "Non-Integer parameter producerId: "
const std::string MSG29 = "Joins are not supported: "
const std::string MSG30 = "Not an insert statement: "
const std::string MSG31 = "Not a delete statement: "
const std::string MSG32 = "Cannot declareTable: "
const std::string MSG33 = "Cannot undeclareTable: "
const std::string MSG34
const std::string MSG35 = "Cannot connect to RDBMS: "
const std::string MSG36 = "Cannot execute query: "
const std::string MSG37 = "Invalid buffer size: "
const std::string MSG38 = "Failed to modify expiration time: "
const std::string MSG39 = "Failed to tidy Registry DataBase"
const std::string MSG40 = "Cannot add producer connection"
const std::string MSG41 = "Table not known in database: "
const std::string MSG42 = "Object has been closed: "
const std::string MSG43 = "Table hasn't been declared: "
const std::string MSG44 = "Servlet not accessible, API has been closed"
const std::string MSG46 = "Non-long parameter: "
const std::string MSG47 = "APIBase has been disconnected"
const std::string MSG48 = "APIBase is already connected"
const std::string MSG49 = "This functionality hasn't been implemented"
const std::string MSG50 = "Cannot set maxBufferSize < 1"
const std::string MSG51 = "Couldn't execute Prevayler Command: "
const std::string MSG52 = "Prevayler couldn't recover previous state: "
const std::string MSG53 = "Tuple check failure -> unknown column name defined on insert. "
const std::string MSG54 = "Consumer tried to start() while previous start() operation is still executing"
const std::string MSG55 = "Unknown Query Type"
const std::string MSG56 = "No ResultSets available to pop"
const std::string MSG57 = "StreamingProducer could not identify Consumer"
const std::string MSG58 = "Duplicated start(), Consumer cannot resend a start() unless abort() is called OR the start() has finished"
const std::string MSG59 = "Invalid abort(), Consumer should call start() before calling abort()"
const std::string MSG60 = "Failed to execute Registry SQL statement"
const std::string MSG61 = "Invalid or empty Body for POST request"
const std::string MSG62 = "No Registry Services defined in $RGMA_HOME/etc/rgma/rgma.conf"
const std::string MSG63 = "Invalid buffer size, value must be >= 0"
const std::string MSG64 = "Invalid date or time: "
const std::string MSG65 = "Invalid termination interval: "
const std::string MSG66 = "Invalid count size, value must be > 0"
const std::string MSG67 = "Invalid timeout value, value must be >= 0"
const std::string MSG68 = "Undefined environment variable: "
const std::string MSG69 = "Cannot locate property: "
const std::string MSG70 = "Error occured while parsing property file: "
const std::string MSG71 = "Error occured while using db connection: "
const std::string MSG72 = "Error occured while accessing registry database: "
const std::string MSG91 = "sendCommand(): Failed to send command to new registry servlet"
const std::string MSG92 = "Registry(): Failed to find fastest response Registry"
const std::string MSG93 = "Registry.sendCommand(): Failed to find fastest response Registry"
const std::string MSG94 = "Unable to locate an available Registry Service"
const std::string MSG95 = "No Registry URL's found in $RGMA_HOME/etc/rgma/registryconfig.xml"
const std::string MSG98 = "Failed to re-register producer with a 'new' registry"
const std::string MSG99 = "Failed to re-register consumer with a 'new' registry"
const std::string MSG100 = "Result Set 'status' != OK"
const std::string MSG101 = "Null TimeInterval"
const std::string MSG102 = "Invalid parameter className"
const std::string MSG103 = "Invalid parameter propertyName"
const std::string MSG104 = "Couldn't declare table! Object might have been disconnected or closed"
const std::string MSG105 = "No servlet URL specified"
const std::string MSG106 = "Cannot call pop methods before start"
const std::string MSG107 = "Cleanable's database table isn't consistent with the global schema: "
const std::string MSG108 = "GRRP heartbeat has arrived too late: producer dropped from registry: "
const std::string MSG109 = "Producer buffer is full up, or not enough memory. Unable to insert any more tuples. "
const std::string MSG110 = "InputStream has been closed"
const std::string MSG111 = "Unrecognised Response"
const std::string MSG112 = "Invalid key value - value is less than 1"
const std::string MSG113 = "Invalid key value - value is larger than list size"
const std::string MSG114 = "Sorry, no Archivers are available to answer your query"
const std::string MSG115 = "Cannot start streaming, request has been duplicated previously"
const std::string MSG116 = "Cannot translate hostname while trying to connect to servlet: "
const std::string MSG117 = "Cannot open socket whilst trying to connect to servlet: "
const std::string MSG118 = "Cannot open connection to servlet: "
const std::string MSG119 = "Bad proxy cache: "
const std::string MSG120 = "HTML returned instead of XML. This usually means either there is a problem with the proxy cache, e.g. it is unable to find the R-GMA server; or an unhandled exception in the R-GMA servlet. The title of the HTML document is: "
const std::string MSG121 = "Error while parsing predicate: "
const std::string MSG122 = "MeasurementDate and MeasurementTime must be declared NOT NULL"
const std::string MSG123 = "Given table definition does not match definition in Schema for table: "
const std::string MSG124 = "Only MeasurementDate and MeasurementTime can be declared NOT NULL without being in the PRIMARY KEY"
const std::string MSG125 = "Cannot create table, at least one column must be defined to hold a PRIMARY KEY"
const std::string MSG126 = "Error parsing create table statement "
const std::string MSG127 = "Incorrect number of columns on INSERT. Both MeasurementTime & MeasurementDate must be set or neither."
const std::string MSG128 = "Found duplicated record"
const std::string MSG129 = "Function unexpectedly returned a null pointer "
const std::string MSG130 = "SSL Connect failed"
const std::string MSG131 = "Column count doesn't match value count: "
const std::string MSG132 = "Write failed"
const std::string MSG133 = "Read failed"
const std::string MSG134 = "parameter can't be parsed as a double: "
const std::string MSG135 = "cannot publish table in registry, hostname is currently being blocked: "
const std::string MSG136 = "could not find producerTableId in the Registry, its likely the Producer no longer exists"
const std::string MSG137 = "unable to open stream: "
const std::string MSG138 = "replication service is currently disabled, request ignored"
const std::string MSG139 = "received unexpected error while parsing xml message: "
const std::string MSG140 = "registry is currently synchronizing"
const std::string MSG141 = "received xml message is empty."
const std::string MSG142 = "no valid tables found in db for replication"
const std::string MSG143 = "encountered parsing error while interpreting xml message: "
const std::string MSG144 = "Checksums do not match"
const std::string MSG145 = "cannot service request, client hostname is currently being blocked"
const std::string MSG146 = "found multiple registry URL's in $RGMA_HOME/etc/rgma/registryconfig.xml, only one should be defined"
const std::string MSG147 = "producer isn't registered"
const std::string MSG148 = "StreamRequest not recognised"
const std::string MSG149 = "Termination Interval is too large: "
const std::string MSG150 = "Duplicate (case-insensitive) column name found: "
const std::string MSG151 = "Measurement date can only have type DATE"
const std::string MSG152 = "Measurement time can only have type TIME"
const std::string MSG153 = "If MeasurementDate and MeasurementTime are specified, then they must both be specified and as the last two columns in the CREATE TABLE"
const std::string MSG154 = "TupleChecking: tuple doesn't honour the registered view: "
const std::string MSG155 = "Cannot change logging level, servlet logging is disabled"
const std::string WARNING1 = "Answer might be wrong: "


Detailed Description

RGMA error messages


Member Data Documentation

const std::string glite::rgma::ErrorMessages::MSG106 = "Cannot call pop methods before start" [static]
 

exception thrown when pop before start, for new Consumer api + continuous queries

const std::string glite::rgma::ErrorMessages::MSG107 = "Cleanable's database table isn't consistent with the global schema: " [static]
 

thrown by CleanableInstance, when a Cleanable constructed with a database has an invalid table in the db

const std::string glite::rgma::ErrorMessages::MSG108 = "GRRP heartbeat has arrived too late: producer dropped from registry: " [static]
 

If a GRRP heartbeat arrives at the registry too late, then this exception is thrown

const std::string glite::rgma::ErrorMessages::MSG109 = "Producer buffer is full up, or not enough memory. Unable to insert any more tuples. " [static]
 

thrown if the Producer buffer is full, or if there's not enough memory available to process the request.

const std::string glite::rgma::ErrorMessages::MSG110 = "InputStream has been closed" [static]
 

thrown if the IO connection between the Producer and Consumer is closed unexpectedly

const std::string glite::rgma::ErrorMessages::MSG111 = "Unrecognised Response" [static]
 

thrown if the input message streamed from Producer to Consumer unknown

const std::string glite::rgma::ErrorMessages::MSG112 = "Invalid key value - value is less than 1" [static]
 

If an index value is out of range *

const std::string glite::rgma::ErrorMessages::MSG114 = "Sorry, no Archivers are available to answer your query" [static]
 

If no Archivers are available to answer your Latest or History query

const std::string glite::rgma::ErrorMessages::MSG115 = "Cannot start streaming, request has been duplicated previously" [static]
 

Thrown by the StreamProducer if the Consumer has already started streaming

const std::string glite::rgma::ErrorMessages::MSG121 = "Error while parsing predicate: " [static]
 

thrown if the QueryHandler cannot parse the sql statement of a Consumer

const std::string glite::rgma::ErrorMessages::MSG122 = "MeasurementDate and MeasurementTime must be declared NOT NULL" [static]
 

thrown by the Schema when comparing the date/time stamps

const std::string glite::rgma::ErrorMessages::MSG123 = "Given table definition does not match definition in Schema for table: " [static]
 

thrown if Producer table does not match description in Schema

const std::string glite::rgma::ErrorMessages::MSG124 = "Only MeasurementDate and MeasurementTime can be declared NOT NULL without being in the PRIMARY KEY" [static]
 

thrown by the Schema if the columns have been defined NOT NULL

const std::string glite::rgma::ErrorMessages::MSG125 = "Cannot create table, at least one column must be defined to hold a PRIMARY KEY" [static]
 

thrown by the Schema if no columns in a table are defined with a PRIMARY KEY

const std::string glite::rgma::ErrorMessages::MSG126 = "Error parsing create table statement " [static]
 

thrown by the Schema if an error occurs while parsing the SQL Create statement

const std::string glite::rgma::ErrorMessages::MSG127 = "Incorrect number of columns on INSERT. Both MeasurementTime & MeasurementDate must be set or neither." [static]
 

thrown by InsertableInstance if tuple contains invalid Date/Time stamp combo.

const std::string glite::rgma::ErrorMessages::MSG128 = "Found duplicated record" [static]
 

thrown if a record is duplicated in the Registry DB.

const std::string glite::rgma::ErrorMessages::MSG131 = "Column count doesn't match value count: " [static]
 

thrown if the number of column names defined within an insert do not match the number of values defined.

const std::string glite::rgma::ErrorMessages::MSG134 = "parameter can't be parsed as a double: " [static]
 

thrown if a parameter read in from web.xml cannot be parsed as a double.

const std::string glite::rgma::ErrorMessages::MSG135 = "cannot publish table in registry, hostname is currently being blocked: " [static]
 

thrown if the Producer is currently being blocking from host-deny.xml file.

const std::string glite::rgma::ErrorMessages::MSG136 = "could not find producerTableId in the Registry, its likely the Producer no longer exists" [static]
 

thrown if the Producer id cannot be located in the Registry.

const std::string glite::rgma::ErrorMessages::MSG137 = "unable to open stream: " [static]
 

thrown by replication routine if unable to read-in xml message.

const std::string glite::rgma::ErrorMessages::MSG138 = "replication service is currently disabled, request ignored" [static]
 

thrown by replication routine if replica omits the senders URL.

const std::string glite::rgma::ErrorMessages::MSG139 = "received unexpected error while parsing xml message: " [static]
 

thrown by replication routine if a parse error occurs while reading the replica.

const std::string glite::rgma::ErrorMessages::MSG140 = "registry is currently synchronizing" [static]
 

thrown if a Registry receives a replica update and the Registry is synchronizing.

const std::string glite::rgma::ErrorMessages::MSG141 = "received xml message is empty." [static]
 

thrown by replication routine if replica xml message is empty.

const std::string glite::rgma::ErrorMessages::MSG142 = "no valid tables found in db for replication" [static]
 

thrown by replication routine if no tables valid tables exist in the db.

const std::string glite::rgma::ErrorMessages::MSG143 = "encountered parsing error while interpreting xml message: " [static]
 

thrown by replication routine if an origin is invalid.

const std::string glite::rgma::ErrorMessages::MSG145 = "cannot service request, client hostname is currently being blocked" [static]
 

thrown if the hostname is currently being denied access to any R-GMA servlet.

const std::string glite::rgma::ErrorMessages::MSG146 = "found multiple registry URL's in $RGMA_HOME/etc/rgma/registryconfig.xml, only one should be defined" [static]
 

replication is not implemented so if several registry urls are defined, this exception is thrown.

const std::string glite::rgma::ErrorMessages::MSG147 = "producer isn't registered" [static]
 

thrown if producer couldn't be found in the registry.

const std::string glite::rgma::ErrorMessages::MSG149 = "Termination Interval is too large: " [static]
 

thrown if the termination interval is too large (when using setTerminationInterval()).

const std::string glite::rgma::ErrorMessages::MSG154 = "TupleChecking: tuple doesn't honour the registered view: " [static]
 

thrown if the inserted tuple does not honour the registered view.

const std::string glite::rgma::ErrorMessages::MSG155 = "Cannot change logging level, servlet logging is disabled" [static]
 

thrown if the log4j facility hasn't been initialised.

const std::string glite::rgma::ErrorMessages::MSG54 = "Consumer tried to start() while previous start() operation is still executing" [static]
 

Exception message used if the Consumer issues a start() before the previous start() was completed

const std::string glite::rgma::ErrorMessages::MSG55 = "Unknown Query Type" [static]
 

Exception message used if the ConsumerServlet cannont identify the Consumer Query Type

const std::string glite::rgma::ErrorMessages::MSG56 = "No ResultSets available to pop" [static]
 

Exception message used if the old Consumer API used pop() but no elements are available

const std::string glite::rgma::ErrorMessages::MSG57 = "StreamingProducer could not identify Consumer" [static]
 

Exception message used if the StreamingProducer cannot find the Consumer on a stopStreaming() request

const std::string glite::rgma::ErrorMessages::MSG58 = "Duplicated start(), Consumer cannot resend a start() unless abort() is called OR the start() has finished" [static]
 

Exception message used if the Consumer resends a start() request

const std::string glite::rgma::ErrorMessages::MSG59 = "Invalid abort(), Consumer should call start() before calling abort()" [static]
 

Exception message used if the Consumer sends an invalid abort() request

const std::string glite::rgma::ErrorMessages::MSG60 = "Failed to execute Registry SQL statement" [static]
 

Exception message used if an error occurs when executing an SQL statement in the RegistyServlet

const std::string glite::rgma::ErrorMessages::MSG61 = "Invalid or empty Body for POST request" [static]
 

Exception message used if the ServletConnection is configured to used POST but no body has been defined (either its empty or null)

const std::string glite::rgma::ErrorMessages::MSG62 = "No Registry Services defined in $RGMA_HOME/etc/rgma/rgma.conf" [static]
 

Exception message used if no checksum is found when a replication request occurs

const std::string glite::rgma::ErrorMessages::MSG63 = "Invalid buffer size, value must be >= 0" [static]
 

Exception message used if the buffer size is invalid

const std::string glite::rgma::ErrorMessages::MSG66 = "Invalid count size, value must be > 0" [static]
 

Exception message used if the count size is < 0.

const std::string glite::rgma::ErrorMessages::MSG67 = "Invalid timeout value, value must be >= 0" [static]
 

Exception message used if the start timeout is < 0

const std::string glite::rgma::ErrorMessages::MSG68 = "Undefined environment variable: " [static]
 

Exception message used if an environ var cannot be retrieved.

const std::string glite::rgma::ErrorMessages::MSG69 = "Cannot locate property: " [static]
 

Exception message used if the property is not found in the props file.

const std::string glite::rgma::ErrorMessages::MSG70 = "Error occured while parsing property file: " [static]
 

Exception raised if the property file cannot be parsed correctly.

const std::string glite::rgma::ErrorMessages::MSG71 = "Error occured while using db connection: " [static]
 

Exception raised by the replication routine if the db connection is faulty.

const std::string glite::rgma::ErrorMessages::MSG72 = "Error occured while accessing registry database: " [static]
 

Used if an error occurs while querying the registry database.

const std::string glite::rgma::ErrorMessages::MSG91 = "sendCommand(): Failed to send command to new registry servlet" [static]
 

Used by Registry when trying to find the fastest RegistryServlet connection

const std::string glite::rgma::ErrorMessages::WARNING1 = "Answer might be wrong: " [static]
 

raised if a producer is used when answering a one-time query - the producer might be incomplete


The documentation for this class was generated from the following files:
Generated on Thu May 11 19:23:43 2006 for glite-rgma-api-cpp by doxygen 1.3.5