util/ErrorCode.h File Reference

Include dependency graph for ErrorCode.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  org
namespace  org::xmlBlaster
namespace  org::xmlBlaster::util

Classes

struct  org::xmlBlaster::util::ErrorCode

Variables

const ErrorCode org::xmlBlaster::util::LEGACY ("legacy", std::string("This error code marks all old style org::xmlBlaster::util::XmlBlasterExceptions ")+std::string("until they are ported to the new behaviour."))
const ErrorCode org::xmlBlaster::util::INTERNAL_UNKNOWN ("internal.unknown", std::string("This is an unknown and unexpected error, usually a runtime ")+std::string("exception, please post it to the mailing list."))
const ErrorCode org::xmlBlaster::util::INTERNAL_NULLPOINTER ("internal.nullpointer", std::string("A null pointer is an xmlBlaster internal programming error, ")+std::string("please post it to the mailing list."))
const ErrorCode org::xmlBlaster::util::INTERNAL_ILLEGALARGUMENT ("internal.illegalArgument", std::string("An illegal argument is an xmlBlaster internal programming ")+std::string("error, please post it to the mailing list."))
const ErrorCode org::xmlBlaster::util::INTERNAL_NOTIMPLEMENTED ("internal.notImplemented", std::string("The feature is not implemented yet."))
const ErrorCode org::xmlBlaster::util::INTERNAL_CONNECTIONFAILURE ("internal.connectionFailure", std::string("An internal error occurred, we were not able to access the ")+std::string("server handle."))
const ErrorCode org::xmlBlaster::util::INTERNAL_DISCONNECT ("internal.disconnect", std::string("An internal error occurred when processing a disconnect() request."))
const ErrorCode org::xmlBlaster::util::INTERNAL_SUBSCRIBE ("internal.subscribe","An internal error occurred when processing a subscribe() request.")
const ErrorCode org::xmlBlaster::util::INTERNAL_UNSUBSCRIBE ("internal.unSubscribe","An internal error occurred when processing an unSubscribe() request.")
const ErrorCode org::xmlBlaster::util::INTERNAL_PUBLISH ("internal.publish","An internal error occurred when processing a publish() request.")
const ErrorCode org::xmlBlaster::util::INTERNAL_ERASE ("internal.erase","An internal error occurred when processing a erase() request.")
const ErrorCode org::xmlBlaster::util::INTERNAL_GET ("internal.get","An internal error occurred when processing a get() request.")
const ErrorCode org::xmlBlaster::util::RESOURCE_OUTOFMEMORY ("resource.outOfMemory", std::string("The JVM has no more RAM memory, try increasing it like 'java ")+std::string("-Xms18M -Xmx256M org.xmlBlaster.Main'"))
const ErrorCode org::xmlBlaster::util::RESOURCE_TOO_MANY_THREADS ("resource.tooManyThreads", std::string("The number of threads used is exceeded, try increasing the ")+std::string("number of threads in the properties"))
const ErrorCode org::xmlBlaster::util::RESOURCE_CALLBACKSERVER_CREATION ("resource.callbackServer.creation","The callback server can't be created")
const ErrorCode org::xmlBlaster::util::RESOURCE_OVERFLOW_QUEUE_BYTES ("resource.overflow.queue.bytes","The maximum size in bytes of a queue is exhausted")
const ErrorCode org::xmlBlaster::util::RESOURCE_OVERFLOW_QUEUE_ENTRIES ("resource.overflow.queue.entries","The maximum number of entries of a queue is exhausted")
const ErrorCode org::xmlBlaster::util::RESOURCE_DB_UNAVAILABLE ("resource.db.unavailable","There is no connection to a backend database using JDBC")
const ErrorCode org::xmlBlaster::util::RESOURCE_CONFIGURATION_PLUGINFAILED ("resource.configuration.pluginFailed","A plugin required couldn't be loaded, please check your configuration.")
const ErrorCode org::xmlBlaster::util::RESOURCE_CONFIGURATION_ADDRESS ("resource.configuration.address","A remote address you passed is invalid, please check your configuration.")
const ErrorCode org::xmlBlaster::util::RESOURCE_FILEIO ("resource.fileIO","A file access failed.")
const ErrorCode org::xmlBlaster::util::RESOURCE_FILEIO_FILELOST ("resource.fileIO.fileLost","A file disappeared, access failed.")
const ErrorCode org::xmlBlaster::util::RESOURCE_CLUSTER_NOTAVAILABLE ("resource.cluster.notAvailable","A remote cluster node is not reachable.")
const ErrorCode org::xmlBlaster::util::COMMUNICATION_NOCONNECTION ("communication.noConnection","A method invocation on a remote connection failed.")
const ErrorCode org::xmlBlaster::util::COMMUNICATION_TIMEOUT ("communication.timeout","The socket call blocked until a timeout occurred.")
const ErrorCode org::xmlBlaster::util::COMMUNICATION_RESPONSETIMEOUT ("communication.responseTimeout","A method call blocked when waiting on the ACK/NAK return message.")
const ErrorCode org::xmlBlaster::util::COMMUNICATION_NOCONNECTION_POLLING ("communication.noConnection.polling","The remote connection is not established and we are currently polling for it.")
const ErrorCode org::xmlBlaster::util::COMMUNICATION_NOCONNECTION_DEAD ("communication.noConnection.dead","The remote connection is not established and we have given up to poll for it.")
const ErrorCode org::xmlBlaster::util::USER_WRONG_API_USAGE ("user.wrongApiUsage","Please check your code.")
const ErrorCode org::xmlBlaster::util::USER_CONFIGURATION ("user.configuration","Login to xmlBlaster failed due to configuration problems.")
const ErrorCode org::xmlBlaster::util::USER_SECURITY_AUTHENTICATION_ACCESSDENIED ("user.security.authentication.accessDenied","Login to xmlBlaster failed due to missing privileges.")
const ErrorCode org::xmlBlaster::util::USER_SECURITY_AUTHENTICATION_ILLEGALARGUMENT ("user.security.authentication.illegalArgument","Login to xmlBlaster failed due to illegal arguments.")
const ErrorCode org::xmlBlaster::util::USER_SECURITY_AUTHORIZATION_NOTAUTHORIZED ("user.security.authorization.notAuthorized","Login to xmlBlaster failed due to missing privileges.")
const ErrorCode org::xmlBlaster::util::USER_UPDATE_ERROR ("user.update.error","Exception thrown by client on callback update invocation.")
const ErrorCode org::xmlBlaster::util::USER_UPDATE_INTERNALERROR ("user.update.internalError","Unexpected exception thrown by client code on programming error.")
const ErrorCode org::xmlBlaster::util::USER_UPDATE_ILLEGALARGUMENT ("user.update.illegalArgument","The update method was invoked without useful data.")
const ErrorCode org::xmlBlaster::util::USER_ILLEGALARGUMENT ("user.illegalArgument","You have invoked a server method with illegal arguments.")
const ErrorCode org::xmlBlaster::util::USER_UPDATE_HOLDBACK ("user.update.holdback","You can throw this on client side in your update() method: Like this the server queues the message and sets the dispatcActive to false. You need to manually activate the dispatcher again.")
const ErrorCode org::xmlBlaster::util::USER_UPDATE_SECURITY_AUTHENTICATION_ACCESSDENIED ("user.update.security.authentication.accessDenied","The update method was invoked with an invalid callback session ID.")
const ErrorCode org::xmlBlaster::util::USER_OID_UNKNOWN ("user.oid.unknown","You passed a message oid which is not known.")
const ErrorCode org::xmlBlaster::util::USER_JDBC_INVALID ("user.jdbc.invalid","You have invoked get() with an illegal JDBC query.")
const ErrorCode org::xmlBlaster::util::USER_PUBLISH ("user.publish","Your published message could not be handled, check your QoS")
const ErrorCode org::xmlBlaster::util::USER_SUBSCRIBE_ID ("user.subscribe.id","Your subscription tries to pass an illegal subscriptionId.")
const ErrorCode org::xmlBlaster::util::USER_CONNECT ("user.connect","Your connection request could not be handled, check your QoS")
const ErrorCode org::xmlBlaster::util::USER_PTP_UNKNOWNSESSION ("user.ptp.unknownSession", std::string("You have send a point to point message to a specific user ")+std::string("session but the receiver is not known."))
const ErrorCode org::xmlBlaster::util::USER_PTP_UNKNOWNDESTINATION ("user.ptp.unknownDestination", std::string("You have send a point to point message but the receiver is not ")+std::string("known and <destination forceQueuing='true'> is not set."))
const ErrorCode org::xmlBlaster::util::USER_QUERY_TYPE_INVALID ("user.query.type.invalid", std::string("You have invoked get(), subscribe(), unSubscribe() or erase() ")+std::string("with an illegal query type, try EXACT or XPATH."))
const ErrorCode org::xmlBlaster::util::USER_NOT_CONNECTED ("user.notConnected","Your operation is not possible, please login with connect() first")