#include <string>
#include <ctime>
#include <iostream>
#include <sstream>
Go to the source code of this file.
Data Structures | |
class | debugCerr |
Defines | |
#define | ERROR_RIO 0xE0040000 |
#define | ERROR_NO_RIO_ERROR 0x0000 |
#define | ERROR_STORAGEDEVICE ERROR_RIO + 0x2000 |
#define | ERROR_STORAGEMANAGER ERROR_RIO + 0x2100 |
#define | ERROR_STORAGESERVER ERROR_RIO + 0x2200 |
#define | ERROR_REQUEST ERROR_RIO + 0x2300 |
#define | ERROR_REQUESTQUEUE ERROR_RIO + 0x2400 |
#define | ERROR_NETWORKMANAGER ERROR_RIO + 0x2500 |
#define | ERROR_ROUTER ERROR_RIO + 0x2600 |
#define | ERROR_SYSTEMMANAGER ERROR_RIO + 0x2700 |
#define | ERROR_CONNECTIONMANAGER ERROR_RIO + 0x2800 |
#define | ERROR_PLCONNECTIONMANAGER ERROR_RIO + 0x2900 |
#define | ERROR_SESSIONMANAGER ERROR_RIO + 0x2A00 |
#define | ERROR_PLSESSIONMANAGER ERROR_RIO + 0x2B00 |
#define | ERROR_STREAMMANAGER ERROR_RIO + 0x2C00 |
#define | ERROR_OBJECTMANAGER ERROR_RIO + 0x2D00 |
#define | ERROR_BUFFERMANAGER ERROR_RIO + 0x2E00 |
#define | ERROR_USERMANAGER ERROR_RIO + 0x2F00 |
#define | ERROR_DISKMGR ERROR_RIO + 0x3000 |
#define | ERROR_BITMAP ERROR_RIO + 0x4000 |
#define | ERROR_CLIENT ERROR_RIO + 0x5000 |
#define | ERROR_RIOTCP ERROR_RIO + 0x5100 |
#define | ERROR_RIOPROXY ERROR_RIO + 0x5200 |
#define | ERROR_RIOSESSION ERROR_RIO + 0x5300 |
#define | ERROR_RIOSTREAM ERROR_RIO + 0x5400 |
#define | ERROR_RIOOBJECT ERROR_RIO + 0x5500 |
#define | ERROR_NETMGR ERROR_RIO + 0x6000 |
#define | ERROR_RIONETI ERROR_RIO + 0x6100 |
#define | ERROR_EVENT ERROR_RIO + 0x6200 |
#define | ERROR_STREAMPOLICING ERROR_RIO + 0x6300 |
#define | ERROR_STREAMCONTROL ERROR_RIO + 0x6400 |
#define | ERROR_LOGROTATION ERROR_RIO + 0x6500 |
#define | ERROR_SEARCHLOGS ERROR_RIO + 0x6600 |
#define | ERROR_RIOMODULE ERROR_RIO + 0x6700 |
#define | ERROR_NETINTERFACE ERROR_RIO + 0x6800 |
#define | ERROR_NETTCP ERROR_RIO + 0x6900 |
#define | ERROR_NETUDP ERROR_RIO + 0x6A00 |
#define | ERROR_TCPSTREAMS ERROR_RIO + 0x6B00 |
#define | ERROR_TRANSFERINFO ERROR_RIO + 0x6C00 |
#define | ERROR_TCPCONNECTION ERROR_RIO + 0x6D00 |
#define | ERROR_SERVERUSERLOGS ERROR_RIO + 0x6E00 |
#define | ERROR_CLIENTUSERLOGS ERROR_RIO + 0x6F00 |
#define | ERROR_SERVERINTERFACE ERROR_RIO + 0x7000 |
Functions | |
string | GetErrorDescription (const unsigned int) |
void | Rioperror (const char *msg) |
debugCerr & | operator<< (debugCerr &out, char c) |
debugCerr & | operator<< (debugCerr &out, signed char c) |
debugCerr & | operator<< (debugCerr &out, unsigned char c) |
debugCerr & | operator<< (debugCerr &out, const char *s) |
debugCerr & | operator<< (debugCerr &out, const signed char *s) |
debugCerr & | operator<< (debugCerr &out, const unsigned char *s) |
debugCerr & | operator<< (debugCerr &out, string s) |
char * | myInfo (bool parseHour=true) |
void | showtimenow (string msg) |
Variables | |
const unsigned int | ERROR_NO_USER_ERROR = 0x00 |
const unsigned int | ERROR_INITIALIZED = 0x01 |
const unsigned int | ERROR_NOT_INITIALIZED = 0x02 |
const unsigned int | ERROR_STARTED = 0x03 |
const unsigned int | ERROR_NOT_STARTED = 0x04 |
const unsigned int | ERROR_STREAM_ACTIVE = 0x05 |
const unsigned int | ERROR_REQUEST_TYPE = 0x20 |
const unsigned int | ERROR_INVALID_STREAM = 0x21 |
const unsigned int | ERROR_INVALID_PARAM = 0x22 |
const unsigned int | ERROR_INVALID_OPERATION = 0x23 |
const unsigned int | ERROR_INVALID_PHYSICAL_BLOCK = 0x24 |
const unsigned int | ERROR_MAX_SESSIONS = 0x25 |
const unsigned int | ERROR_INVALID_SESSION = 0x26 |
const unsigned int | ERROR_MAX_STREAMS = 0x27 |
const unsigned int | ERROR_STREAM_REFUSED = 0x28 |
const unsigned int | ERROR_INVALID_TRAFFIC = 0x29 |
const unsigned int | ERROR_INVALID_BLOCKSIZE = 0x2A |
const unsigned int | ERROR_INVALID_DIRECTION = 0x2B |
const unsigned int | ERROR_INVALID_ACCESS_TYPE = 0x2C |
const unsigned int | ERROR_DISKFULL = 0x2D |
const unsigned int | ERROR_LARGE_NAME = 0x2E |
const unsigned int | ERROR_INVALID_OBJECT_TYPE = 0x2F |
const unsigned int | ERROR_OBJECT_EXISTS = 0x30 |
const unsigned int | ERROR_INVALID_OBJECTNAME = 0x31 |
const unsigned int | ERROR_OBJECT_OPEN_FAILED = 0x32 |
const unsigned int | ERROR_OBJECT_REMOVE_FAILED = 0x33 |
const unsigned int | ERROR_MAX_OPENED_OBJECTS = 0x34 |
const unsigned int | ERROR_INVALID_OBJECT_HANDLE = 0x35 |
const unsigned int | ERROR_INVALID_LOGICAL_BLOCK = 0x36 |
const unsigned int | ERROR_NOT_EXCLUSIVE_ACCESS = 0x37 |
const unsigned int | ERROR_CONNECTED = 0x38 |
const unsigned int | ERROR_NOTCONNECTED = 0x39 |
const unsigned int | ERROR_NOT_CLIENT = 0x3A |
const unsigned int | ERROR_NOT_SERVER = 0x3B |
const unsigned int | ERROR_OBJECT_IS_DIRECTORY = 0x3C |
const unsigned int | ERROR_OBJECT_NOT_DIRECTORY = 0x3D |
const unsigned int | ERROR_NAMEBUFFER_OVERFLOW = 0x3E |
const unsigned int | ERROR_NO_MORE_OBJECTS = 0x3F |
const unsigned int | ERROR_DIRECTORY_READ_FAILED = 0x40 |
const unsigned int | ERROR_INVALID_DIRECTORYNAME = 0x41 |
const unsigned int | ERROR_INVALID_BLOCK = 0x42 |
const unsigned int | ERROR_MAX_STREAM_REQUESTS = 0x43 |
const unsigned int | ERROR_SESSION_ALREADY_OPENED = 0x4F |
const unsigned int | ERROR_SESSION_NOT_OPENED = 0x50 |
const unsigned int | ERROR_STREAM_ALREADY_OPENED = 0x51 |
const unsigned int | ERROR_STREAM_NOT_OPENED = 0x52 |
const unsigned int | ERROR_CAC_STREAM_NOT_OPENED = 0x53 |
const unsigned int | ERROR_OBJECT_ALREADY_OPENED = 0x54 |
const unsigned int | ERROR_OBJECT_NOT_OPENED = 0x55 |
const unsigned int | ERROR_INVALID_USER = 0x56 |
const unsigned int | ERROR_PATHNAME_TOOLARGE = 0x57 |
const unsigned int | ERROR_PATHNAME_BADSYNTAX = 0x58 |
const unsigned int | ERROR_NOT_DIRECTORY = 0x59 |
const unsigned int | ERROR_SERVICE_TEMPORARY_UNAVAILABLE = 0x5A |
const unsigned int | ERROR_OPEN_FREEBLOCKS_FILE = 0x5B |
const unsigned int | ERROR_OBJECT_NOT_DEFINED = 0x5C |
const unsigned int | ERROR_SERVER_NOT_DEFINED = 0x5D |
const unsigned int | ERROR_INVALID_MODULE_POLICY = 0x5E |
const unsigned int | ERROR_HTTPS_REQUIRED = 0x5F |
const unsigned int | ERROR_USER_EXISTS = 0x60 |
const unsigned int | ERROR_INVALID_USER_DIRECTORY = 0x61 |
const unsigned int | ERROR_RIOPASSWORD_FILE = 0x62 |
const unsigned int | ERROR_UNEXPECTED = 0x80 |
const unsigned int | ERROR_DISK_GEOMETRY = 0x81 |
const unsigned int | ERROR_DISK_SEEK = 0x82 |
const unsigned int | ERROR_DISK_WRITE = 0x83 |
const unsigned int | ERROR_DISK_READ = 0x84 |
const unsigned int | ERROR_CREATE_EVENT = 0x85 |
const unsigned int | ERROR_SET_EVENT = 0x86 |
const unsigned int | ERROR_RESET_EVENT = 0x87 |
const unsigned int | ERROR_WAIT_EVENT = 0x88 |
const unsigned int | ERROR_CREATE_THREAD = 0x89 |
const unsigned int | ERROR_WAIT_THREAD = 0x8A |
const unsigned int | ERROR_THREAD_ATTRIB = 0x8B |
const unsigned int | ERROR_CREATE_MUTEX = 0x8C |
const unsigned int | ERROR_WAIT_MUTEX = 0x8D |
const unsigned int | ERROR_RELEASE_MUTEX = 0x8E |
const unsigned int | ERROR_CREATE_SEMAPHORE = 0x8F |
const unsigned int | ERROR_CREATE_INSTANCE = 0x90 |
const unsigned int | ERROR_QUERY_INTERFACE = 0x91 |
const unsigned int | ERROR_MEMORY = 0x92 |
const unsigned int | ERROR_METADATA_CORRUPTED = 0x93 |
const unsigned int | ERROR_OBJECT_METADATA_WRITE = 0x94 |
const unsigned int | ERROR_OBJECT_METADATA_CORRUPTED = 0x95 |
const unsigned int | ERROR_DISK_OPEN = 0x96 |
const unsigned int | ERROR_SYSTEM_CONFIGURATION = 0x97 |
const unsigned int | ERROR_SOCKET_LIBRARY = 0x98 |
const unsigned int | ERROR_SOCKET_CREATE = 0x99 |
const unsigned int | ERROR_SOCKET_BIND = 0x9A |
const unsigned int | ERROR_SOCKET_LISTEN = 0x9B |
const unsigned int | ERROR_SOCKET_RECEIVE = 0x9C |
const unsigned int | ERROR_SOCKET_CONNECT = 0x9D |
const unsigned int | ERROR_SOCKET_ACCEPT = 0x9E |
const unsigned int | ERROR_LOCALHOSTNAME = 0x9F |
const unsigned int | ERROR_HOSTBYNAME = 0xA0 |
const unsigned int | ERROR_HOST_NOTFOUND = 0xA1 |
const unsigned int | ERROR_SOCKET_SEND = 0xA2 |
const unsigned int | ERROR_SOCKET_REFUSED_CONNECTION = 0xA3 |
const unsigned int | ERROR_RIO_PROTOCOL = 0xA4 |
const unsigned int | ERROR_INVALID_VERSION = 0xA5 |
const unsigned int | ERROR_INVALID_DISK = 0xA6 |
const unsigned int | ERROR_QUEUE_EMPTY = 0xA7 |
const unsigned int | ERROR_INVALID_CLASS = 0xA8 |
const unsigned int | ERROR_INVALID_METHOD_PARAM = 0xA9 |
const unsigned int | ERROR_INVALID_METHOD = 0xAA |
const unsigned int | ERROR_RESULT_MESSAGE_OVERFLOW = 0xAB |
const unsigned int | ERROR_MAX_STORAGE_NODES = 0xAC |
const unsigned int | ERROR_MESSAGE_DATA_FORMAT = 0xAD |
const unsigned int | ERROR_CALL_MESSAGE_OVERFLOW = 0xAE |
const unsigned int | ERROR_INVALID_BUFFER = 0xAF |
const unsigned int | ERROR_SOCKET_OPTIONS = 0xB0 |
const unsigned int | ERROR_SOCKET_TIMEOUT = 0xB1 |
const unsigned int | ERROR_SOCKETS_SELECT = 0xB2 |
const unsigned int | ERROR_NOT_IMPLEMENTED = 0xB3 |
const unsigned int | ERROR_IOCTL_FAILED = 0xB4 |
const unsigned int | ERROR_SOCKET_CLOSED = 0xB5 |
const unsigned int | ERROR_PROCESS_TERMINATED = 0xB6 |
const unsigned int | ERROR_INVALID_TRANSFERID = 0xB7 |
const unsigned int | ERROR_INVALID_HOST = 0xB8 |
const unsigned int | ERROR_SOCKET_ACCEPT_CRITICAL = 0xB9 |
const unsigned int | ERROR_COMMAND_NOT_DEFINED = 0xBA |
const unsigned int | ERROR_INVALID_COMMAND = 0xBB |
const unsigned int | ERROR_COMMAND_SYNTAX = 0xBC |
const unsigned int | ERROR_SESSIONID_NOT_DEFINED = 0xBD |
const unsigned int | ERROR_SESSIONID_ALREADY_DEFINED = 0xBE |
const unsigned int | ERROR_COPYING_OBJECT = 0xBF |
const unsigned int | ERROR_LOGFILE_OPEN_FAILED = 0xC0 |
const unsigned int | ERROR_LOGFILE_READ_FAILED = 0xC1 |
const unsigned int | ERROR_LOGFILE_WRITE_FAILED = 0xC2 |
const unsigned int | ERROR_LOGFILE_CLOSE_FAILED = 0xC3 |
const unsigned int | ERROR_LOGFILE_LINE_FORMAT = 0xC4 |
const unsigned int | ERROR_LOGFILE_FILENAME_FORMAT = 0xC5 |
const unsigned int | ERROR_LOGFILES_LIST = 0xC6 |
const unsigned int | ERROR_LOGLINE_TOOLARGE = 0xC7 |
const unsigned int | ERROR_LOGFILE_REMOVE_FAILED = 0xC8 |
const unsigned int | ERROR_LOGROTATION_SEARCH_FAILED = 0xC9 |
const unsigned int | ERROR_INITIALIZE_LOGROTATION = 0xD0 |
const unsigned int | ERROR_CREATE_SEARCHRESULT_FILENAME = 0xD1 |
const unsigned int | ERROR_OPEN_SEARCHRESULT_FILE = 0xD2 |
const unsigned int | ERROR_READ_SEARCHRESULT_FILE = 0xD3 |
const unsigned int | ERROR_INVALID_SEARCHRESULT_IDENTIFICATION = 0xD4 |
const unsigned int | ERROR_REMOVE_SEARCHRESULT_FILE = 0xD5 |
const unsigned int | ERROR_INITIALIZE_SEARCHLOGS = 0xD6 |
const unsigned int | ERROR_SEARCHLOGS_SEARCH_TYPE = 0xD7 |
const unsigned int | ERROR_SEARCHLOGS_TIME_INTERVAL = 0xD8 |
const unsigned int | ERROR_LOGLINE_NOT_DEFINED = 0xD9 |
const unsigned int | ERROR_LOGFILE = 0xF1 |
const unsigned int | ERROR_CREATE_CONFIGFILE = 0xF2 |
const unsigned int | ERROR_OPEN_CONFIGFILE = 0xF3 |
const unsigned int | ERROR_INVALID_CONFIGFILE = 0xF4 |
const unsigned int | ERROR_LARGE_ROOTNAME = 0xF5 |
const unsigned int | ERROR_CREATE_ROOT = 0xF6 |
const unsigned int | ERROR_CLOSED_CONNECTION = 0xF7 |
const unsigned int | ERROR_PERMISSION_DENIED = 0xF8 |
const unsigned int | ERROR_NO_MAPPING = 0xF9 |
const unsigned int | ERROR_CODE_MASK = 0x000000FF |
debugCerr | RioErr |
RioErr � a inst�ncia global da classe debugCerr utilizada para exibir mensagens de debug. |
#define ERROR_BITMAP ERROR_RIO + 0x4000 |
Definition at line 54 of file RioError.h.
#define ERROR_BUFFERMANAGER ERROR_RIO + 0x2E00 |
Definition at line 51 of file RioError.h.
#define ERROR_CLIENT ERROR_RIO + 0x5000 |
Definition at line 55 of file RioError.h.
#define ERROR_CLIENTUSERLOGS ERROR_RIO + 0x6F00 |
Definition at line 94 of file RioError.h.
#define ERROR_CONNECTIONMANAGER ERROR_RIO + 0x2800 |
Definition at line 45 of file RioError.h.
#define ERROR_DISKMGR ERROR_RIO + 0x3000 |
Definition at line 53 of file RioError.h.
#define ERROR_EVENT ERROR_RIO + 0x6200 |
Definition at line 63 of file RioError.h.
#define ERROR_LOGROTATION ERROR_RIO + 0x6500 |
Definition at line 68 of file RioError.h.
#define ERROR_NETINTERFACE ERROR_RIO + 0x6800 |
Definition at line 75 of file RioError.h.
#define ERROR_NETMGR ERROR_RIO + 0x6000 |
Definition at line 61 of file RioError.h.
#define ERROR_NETTCP ERROR_RIO + 0x6900 |
Definition at line 77 of file RioError.h.
#define ERROR_NETUDP ERROR_RIO + 0x6A00 |
Definition at line 79 of file RioError.h.
#define ERROR_NETWORKMANAGER ERROR_RIO + 0x2500 |
Definition at line 42 of file RioError.h.
#define ERROR_NO_RIO_ERROR 0x0000 |
Definition at line 36 of file RioError.h.
#define ERROR_OBJECTMANAGER ERROR_RIO + 0x2D00 |
Definition at line 50 of file RioError.h.
#define ERROR_PLCONNECTIONMANAGER ERROR_RIO + 0x2900 |
Definition at line 46 of file RioError.h.
#define ERROR_PLSESSIONMANAGER ERROR_RIO + 0x2B00 |
Definition at line 48 of file RioError.h.
#define ERROR_REQUEST ERROR_RIO + 0x2300 |
Definition at line 40 of file RioError.h.
#define ERROR_REQUESTQUEUE ERROR_RIO + 0x2400 |
Definition at line 41 of file RioError.h.
#define ERROR_RIO 0xE0040000 |
Definition at line 34 of file RioError.h.
#define ERROR_RIOMODULE ERROR_RIO + 0x6700 |
Definition at line 72 of file RioError.h.
#define ERROR_RIONETI ERROR_RIO + 0x6100 |
Definition at line 62 of file RioError.h.
#define ERROR_RIOOBJECT ERROR_RIO + 0x5500 |
Definition at line 60 of file RioError.h.
#define ERROR_RIOPROXY ERROR_RIO + 0x5200 |
Definition at line 57 of file RioError.h.
#define ERROR_RIOSESSION ERROR_RIO + 0x5300 |
Definition at line 58 of file RioError.h.
#define ERROR_RIOSTREAM ERROR_RIO + 0x5400 |
Definition at line 59 of file RioError.h.
#define ERROR_RIOTCP ERROR_RIO + 0x5100 |
Definition at line 56 of file RioError.h.
#define ERROR_ROUTER ERROR_RIO + 0x2600 |
Definition at line 43 of file RioError.h.
#define ERROR_SEARCHLOGS ERROR_RIO + 0x6600 |
Definition at line 70 of file RioError.h.
#define ERROR_SERVERINTERFACE ERROR_RIO + 0x7000 |
Definition at line 98 of file RioError.h.
#define ERROR_SERVERUSERLOGS ERROR_RIO + 0x6E00 |
Definition at line 90 of file RioError.h.
#define ERROR_SESSIONMANAGER ERROR_RIO + 0x2A00 |
Definition at line 47 of file RioError.h.
#define ERROR_STORAGEDEVICE ERROR_RIO + 0x2000 |
Definition at line 37 of file RioError.h.
#define ERROR_STORAGEMANAGER ERROR_RIO + 0x2100 |
Definition at line 38 of file RioError.h.
#define ERROR_STORAGESERVER ERROR_RIO + 0x2200 |
Definition at line 39 of file RioError.h.
#define ERROR_STREAMCONTROL ERROR_RIO + 0x6400 |
Definition at line 66 of file RioError.h.
#define ERROR_STREAMMANAGER ERROR_RIO + 0x2C00 |
Definition at line 49 of file RioError.h.
#define ERROR_STREAMPOLICING ERROR_RIO + 0x6300 |
Definition at line 64 of file RioError.h.
#define ERROR_SYSTEMMANAGER ERROR_RIO + 0x2700 |
Definition at line 44 of file RioError.h.
#define ERROR_TCPCONNECTION ERROR_RIO + 0x6D00 |
Definition at line 86 of file RioError.h.
#define ERROR_TCPSTREAMS ERROR_RIO + 0x6B00 |
Definition at line 82 of file RioError.h.
#define ERROR_TRANSFERINFO ERROR_RIO + 0x6C00 |
Definition at line 84 of file RioError.h.
#define ERROR_USERMANAGER ERROR_RIO + 0x2F00 |
Definition at line 52 of file RioError.h.
string GetErrorDescription | ( | const unsigned | int | ) |
Definition at line 41 of file RioError.cpp.
00042 { 00043 string RioError; 00044 string UserError; 00045 00046 #ifdef RIO_DEBUG2 00047 bool showstack = false; 00048 #endif 00049 00050 switch( (error & 0xFFFFFF00) ) 00051 { 00052 case ERROR_NO_RIO_ERROR: 00053 RioError = "NO RIO ERROR"; 00054 break; 00055 case ERROR_STORAGEDEVICE: 00056 RioError = "STORAGE DEVICE"; 00057 break; 00058 case ERROR_STORAGEMANAGER: 00059 RioError = "STORAGE MANAGER"; 00060 break; 00061 case ERROR_STORAGESERVER: 00062 RioError = "STORAGE SERVER"; 00063 break; 00064 case ERROR_REQUEST: 00065 RioError = "REQUEST"; 00066 break; 00067 case ERROR_REQUESTQUEUE: 00068 RioError = "REQUEST QUEUE"; 00069 break; 00070 case ERROR_NETWORKMANAGER: 00071 RioError = "NETWORK MANAGER"; 00072 break; 00073 case ERROR_ROUTER: 00074 RioError = "ROUTER"; 00075 break; 00076 case ERROR_SYSTEMMANAGER: 00077 RioError = "SYSTEM MANAGER"; 00078 break; 00079 case ERROR_CONNECTIONMANAGER: 00080 RioError = "CONNECTION MANAGER"; 00081 break; 00082 case ERROR_PLCONNECTIONMANAGER: 00083 RioError = "PL CONNECTION MANAGER"; 00084 break; 00085 case ERROR_SESSIONMANAGER: 00086 RioError = "SESSION MANAGER"; 00087 break; 00088 case ERROR_PLSESSIONMANAGER: 00089 RioError = "PL SESSION MANAGER"; 00090 break; 00091 case ERROR_STREAMMANAGER: 00092 RioError = "STREAM MANAGER"; 00093 break; 00094 case ERROR_OBJECTMANAGER: 00095 RioError = "OBJECT MANAGER"; 00096 break; 00097 case ERROR_BUFFERMANAGER: 00098 RioError = "BUFFER MANAGER"; 00099 break; 00100 case ERROR_USERMANAGER: 00101 RioError = "USER MANAGER"; 00102 break; 00103 case ERROR_DISKMGR: 00104 RioError = "DISK MANAGER"; 00105 break; 00106 case ERROR_BITMAP: 00107 RioError = "BITMAP"; 00108 break; 00109 case ERROR_CLIENT: 00110 RioError = "CLIENT"; 00111 break; 00112 case ERROR_RIOTCP: 00113 RioError = "RIO TCP"; 00114 break; 00115 case ERROR_RIOPROXY: 00116 RioError = "RIO PROXY"; 00117 break; 00118 case ERROR_RIOSESSION: 00119 RioError = "RIO SESSION"; 00120 break; 00121 case ERROR_RIOSTREAM: 00122 RioError = "RIO STREAM"; 00123 break; 00124 case ERROR_RIOOBJECT: 00125 RioError = "RIO OBJECT"; 00126 break; 00127 case ERROR_NETMGR: 00128 RioError = "NET MANAGER"; 00129 break; 00130 case ERROR_RIONETI: 00131 RioError = "RIO NETI"; 00132 break; 00133 case ERROR_EVENT: 00134 RioError = "EVENT"; 00135 break; 00136 case ERROR_STREAMPOLICING: 00137 RioError = "STREAM POLICING"; 00138 break; 00139 // Novo erro da classe StreamControl de controle do fluxo. 00140 case ERROR_STREAMCONTROL: 00141 RioError = "STREAM CONTROL"; 00142 break; 00143 // Novo erro da classe CLogRotation de impressao de logs. 00144 case ERROR_LOGROTATION: 00145 RioError = "LOG ROTATION"; 00146 break; 00147 // Novo erro da classe CSearchLogs para a busca nos logs. 00148 case ERROR_SEARCHLOGS: 00149 RioError = "SEARCH LOGS"; 00150 break; 00151 // Novo erro usado pelo modulo do apache 00152 case ERROR_RIOMODULE: 00153 RioError = "RIO MODULE"; 00154 break; 00155 // Novo erro usado pela classe CNetInterface. 00156 case ERROR_NETINTERFACE: 00157 RioError = "NET INTERFACE"; 00158 break; 00159 // Novo erro usado pela classe CNetTCP. 00160 case ERROR_NETTCP: 00161 RioError = "NET TCP"; 00162 break; 00163 // Novo erro usado pela classe CNetUDP. 00164 case ERROR_NETUDP: 00165 RioError = "NET UDP"; 00166 break; 00167 // Novo erro usado pela classe CTcpStreams. 00168 case ERROR_TCPSTREAMS: 00169 RioError = "TCP STREAMS"; 00170 break; 00171 // Novo erro para a classe CTransferInfo. 00172 case ERROR_TRANSFERINFO: 00173 RioError = "TRANSFER INFO"; 00174 break; 00175 // Novo erro para a nova classe de gerenciamento de uma conexao TCP. 00176 case ERROR_TCPCONNECTION: 00177 RioError = "TCP CONNECTION"; 00178 break; 00179 // Novo erro para indicar um erro critico no accept 00180 case ERROR_SOCKET_ACCEPT_CRITICAL: 00181 RioError = "SOCKET ACCEPT CRITICAL"; 00182 break; 00183 // Novo erro para a nova classe para salvar os logs de comportamento do 00184 // cliente pelo modulo (parte "servidora", que recebe as linhas de log 00185 // pelo socket UDP e as coloca no log. 00186 case ERROR_SERVERUSERLOGS: 00187 RioError = "SERVER USER LOGS"; 00188 break; 00189 // Novo erro para a nova classe para salvar os logs de comportamento do 00190 // cliente pelo modulo (parte "cliente", que envia as linhas de log pelo 00191 // socket UDP para serem salvas). 00192 case ERROR_CLIENTUSERLOGS: 00193 RioError = "CLIENT USER LOGS"; 00194 break; 00195 // Novo erro para a nova classe usada para fazer a interface com o 00196 // servidor RIO. Esta classe, alem de enviar e receber arquivos pela 00197 // conexao TCP, ira tambem executar comandos do riosh. 00198 case ERROR_SERVERINTERFACE: 00199 RioError = "SERVER INTERFACE"; 00200 break; 00201 default: 00202 RioError = "UNKNOWN"; 00203 00204 #ifdef RIO_DEBUG2 00205 showstack = true; 00206 #endif 00207 00208 break; 00209 } 00210 00211 switch( (error & 0x000000FF) ) 00212 { 00213 case ERROR_NO_USER_ERROR: 00214 UserError = "NO USER ERROR"; 00215 break; 00216 case ERROR_INITIALIZED: 00217 UserError = "INITIALIZED"; 00218 break; 00219 case ERROR_NOT_INITIALIZED: 00220 UserError = "NOT INITIALIZED"; 00221 break; 00222 case ERROR_STARTED: 00223 UserError = "STARTED"; 00224 break; 00225 case ERROR_NOT_STARTED: 00226 UserError = "NOT STARTED"; 00227 break; 00228 case ERROR_STREAM_ACTIVE: 00229 UserError = "STREAM ACTIVE"; 00230 break; 00231 case ERROR_REQUEST_TYPE: 00232 UserError = "REQUEST TYPE"; 00233 break; 00234 case ERROR_INVALID_STREAM: 00235 UserError = "INVALID STREAM"; 00236 break; 00237 case ERROR_INVALID_PARAM: 00238 UserError = "INVALID PARAM"; 00239 break; 00240 case ERROR_INVALID_OPERATION: 00241 UserError = "INVALID OPERATION"; 00242 break; 00243 case ERROR_INVALID_PHYSICAL_BLOCK: 00244 UserError = "INVALID PHYSICAL BLOCK"; 00245 break; 00246 case ERROR_MAX_SESSIONS: 00247 UserError = "MAX SESSIONS"; 00248 break; 00249 case ERROR_INVALID_SESSION: 00250 UserError = "INVALID SESSION"; 00251 break; 00252 case ERROR_MAX_STREAMS: 00253 UserError = "MAX STREAMS"; 00254 break; 00255 case ERROR_STREAM_REFUSED: 00256 UserError = "STREAM REFUSED"; 00257 break; 00258 case ERROR_INVALID_TRAFFIC: 00259 UserError = "INVALID TRAFFIC"; 00260 break; 00261 case ERROR_INVALID_BLOCKSIZE: 00262 UserError = "INVALID BLOCK SIZE"; 00263 break; 00264 case ERROR_INVALID_DIRECTION: 00265 UserError = "INVALID DIRECTION"; 00266 break; 00267 case ERROR_INVALID_ACCESS_TYPE: 00268 UserError = "INVALID ACCESS TYPE"; 00269 break; 00270 case ERROR_DISKFULL: 00271 UserError = "DISK FULL"; 00272 break; 00273 case ERROR_LARGE_NAME: 00274 UserError = "LARGE NAME"; 00275 break; 00276 case ERROR_INVALID_OBJECT_TYPE: 00277 UserError = "INVALID OBJECT TYPE"; 00278 break; 00279 case ERROR_OBJECT_EXISTS: 00280 UserError = "OBJECT EXISTS"; 00281 break; 00282 case ERROR_INVALID_OBJECTNAME: 00283 UserError = "INVALID OBJECT NAME"; 00284 break; 00285 case ERROR_OBJECT_OPEN_FAILED: 00286 UserError = "OBJECT OPEN FAILED"; 00287 break; 00288 case ERROR_OBJECT_REMOVE_FAILED: 00289 UserError = "OBJECT REMOVE FAILED"; 00290 break; 00291 case ERROR_MAX_OPENED_OBJECTS: 00292 UserError = "MAX OPENED OBJECTS"; 00293 break; 00294 case ERROR_INVALID_OBJECT_HANDLE: 00295 UserError = "INVALID OBJECT HANDLE"; 00296 break; 00297 case ERROR_INVALID_LOGICAL_BLOCK: 00298 UserError = "INVALID LOGICAL BLOCK"; 00299 break; 00300 case ERROR_NOT_EXCLUSIVE_ACCESS: 00301 UserError = "NOT EXCLUSIVE ACCESS"; 00302 break; 00303 case ERROR_CONNECTED: 00304 UserError = "CONNECTED"; 00305 break; 00306 case ERROR_NOTCONNECTED: 00307 UserError = "NOT CONNECTED"; 00308 break; 00309 case ERROR_NOT_CLIENT: 00310 UserError = "NOT CLIENT"; 00311 break; 00312 case ERROR_NOT_SERVER: 00313 UserError = "NOT SERVER"; 00314 break; 00315 case ERROR_OBJECT_IS_DIRECTORY: 00316 UserError = "OBJECT IS DIRECTORY"; 00317 break; 00318 case ERROR_OBJECT_NOT_DIRECTORY: 00319 UserError = "OBJECT NOT DIRECTORY"; 00320 break; 00321 case ERROR_NAMEBUFFER_OVERFLOW: 00322 UserError = "NAME BUFFER OVERFLOW"; 00323 break; 00324 case ERROR_NO_MORE_OBJECTS: 00325 UserError = "NO MORE OBJECTS"; 00326 break; 00327 case ERROR_DIRECTORY_READ_FAILED: 00328 UserError = "DIRECTORY READ FAILED"; 00329 break; 00330 case ERROR_INVALID_DIRECTORYNAME: 00331 UserError = "INVALID DIRECTORY NAME"; 00332 break; 00333 case ERROR_INVALID_BLOCK: 00334 UserError = "INVALID BLOCK"; 00335 break; 00336 case ERROR_MAX_STREAM_REQUESTS: 00337 UserError = "MAX STREAM REQUESTS"; 00338 break; 00339 case ERROR_SESSION_ALREADY_OPENED: 00340 UserError = "SESSION ALREADY OPENED"; 00341 break; 00342 case ERROR_SESSION_NOT_OPENED: 00343 UserError = "SESSION NOT OPENED"; 00344 break; 00345 case ERROR_STREAM_ALREADY_OPENED: 00346 UserError = "STREAM ALREADY OPENED"; 00347 break; 00348 case ERROR_STREAM_NOT_OPENED: 00349 UserError = "STREAM NOT OPENED"; 00350 break; 00351 case ERROR_CAC_STREAM_NOT_OPENED: 00352 UserError = "CAC STREAM NOT OPENED"; 00353 break; 00354 case ERROR_OBJECT_ALREADY_OPENED: 00355 UserError = "OBJECT ALREADY OPENED"; 00356 break; 00357 case ERROR_OBJECT_NOT_OPENED: 00358 UserError = "OBJECT NOT OPENED"; 00359 break; 00360 case ERROR_INVALID_USER: 00361 UserError = "INVALID USER"; 00362 break; 00363 case ERROR_PATHNAME_TOOLARGE: 00364 UserError = "PATHNAME TOO LARGE"; 00365 break; 00366 case ERROR_PATHNAME_BADSYNTAX: 00367 UserError = "PATHNAME BAD SYNTAX"; 00368 break; 00369 case ERROR_NOT_DIRECTORY: 00370 UserError = "NOT DIRECTORY"; 00371 break; 00372 case ERROR_UNEXPECTED: 00373 UserError = "UNEXPECTED"; 00374 break; 00375 case ERROR_DISK_GEOMETRY: 00376 UserError = "DISK GEOMETRY"; 00377 break; 00378 case ERROR_DISK_SEEK: 00379 UserError = "DISK SEEK"; 00380 break; 00381 case ERROR_DISK_WRITE: 00382 UserError = "DISK WRITE"; 00383 break; 00384 case ERROR_DISK_READ: 00385 UserError = "DISK READ"; 00386 break; 00387 case ERROR_CREATE_EVENT: 00388 UserError = "CREATE EVENT"; 00389 break; 00390 case ERROR_SET_EVENT: 00391 UserError = "SET EVENT"; 00392 break; 00393 case ERROR_RESET_EVENT: 00394 UserError = "RESET EVENT"; 00395 break; 00396 case ERROR_WAIT_EVENT: 00397 UserError = "WAIT EVENT"; 00398 break; 00399 case ERROR_CREATE_THREAD: 00400 UserError = "CREATE THREAD"; 00401 break; 00402 case ERROR_WAIT_THREAD: 00403 UserError = "WAIT THREAD"; 00404 break; 00405 case ERROR_THREAD_ATTRIB: 00406 UserError = "THREAD ATTRIB"; 00407 break; 00408 case ERROR_CREATE_MUTEX: 00409 UserError = "CREATE MUTEX"; 00410 break; 00411 case ERROR_WAIT_MUTEX: 00412 UserError = "WAIT MUTEX"; 00413 break; 00414 case ERROR_RELEASE_MUTEX: 00415 UserError = "RELEASE MUTEX"; 00416 break; 00417 case ERROR_CREATE_SEMAPHORE: 00418 UserError = "CREATE SEMAPHORE"; 00419 break; 00420 case ERROR_CREATE_INSTANCE: 00421 UserError = "CREATE INSTANCE"; 00422 break; 00423 case ERROR_QUERY_INTERFACE: 00424 UserError = "QUERY INTERFACE"; 00425 break; 00426 case ERROR_MEMORY: 00427 UserError = "MEMORY"; 00428 break; 00429 case ERROR_METADATA_CORRUPTED: 00430 UserError = "METADATA CORRUPTED"; 00431 break; 00432 case ERROR_OBJECT_METADATA_WRITE: 00433 UserError = "OBJECT METADATA WRITE"; 00434 break; 00435 case ERROR_OBJECT_METADATA_CORRUPTED: 00436 UserError = "OBJECT METADATA CORRUPTED"; 00437 break; 00438 case ERROR_DISK_OPEN: 00439 UserError = "DISK OPEN"; 00440 break; 00441 case ERROR_SYSTEM_CONFIGURATION: 00442 UserError = "SYSTEM CONFIGURATION"; 00443 break; 00444 case ERROR_SOCKET_LIBRARY: 00445 UserError = "SOCKET LIBRARY"; 00446 break; 00447 case ERROR_SOCKET_CREATE: 00448 UserError = "SOCKET CREATE"; 00449 break; 00450 case ERROR_SOCKET_BIND: 00451 UserError = "SOCKET BIND"; 00452 break; 00453 case ERROR_SOCKET_LISTEN: 00454 UserError = "SOCKET LISTEN"; 00455 break; 00456 case ERROR_SOCKET_RECEIVE: 00457 UserError = "SOCKET RECEIVE"; 00458 break; 00459 case ERROR_SOCKET_CONNECT: 00460 UserError = "SOCKET CONNECT"; 00461 break; 00462 case ERROR_SOCKET_ACCEPT: 00463 UserError = "SOCKET ACCEPT"; 00464 break; 00465 case ERROR_LOCALHOSTNAME: 00466 UserError = "LOCAL HOST NAME"; 00467 break; 00468 case ERROR_HOSTBYNAME: 00469 UserError = "HOST BY NAME"; 00470 break; 00471 case ERROR_HOST_NOTFOUND: 00472 UserError = "HOST NOT FOUND"; 00473 break; 00474 case ERROR_SOCKET_SEND: 00475 UserError = "SOCKET SEND"; 00476 break; 00477 case ERROR_SOCKET_REFUSED_CONNECTION: 00478 UserError = "SOCKET REFUSED CONNECTION"; 00479 break; 00480 case ERROR_RIO_PROTOCOL: 00481 UserError = "RIO PROTOCOL"; 00482 break; 00483 case ERROR_INVALID_VERSION: 00484 UserError = "INVALID VERSION"; 00485 break; 00486 case ERROR_INVALID_DISK: 00487 UserError = "INVALID DISK"; 00488 break; 00489 case ERROR_QUEUE_EMPTY: 00490 UserError = "QUEUE EMPTY"; 00491 break; 00492 case ERROR_INVALID_CLASS: 00493 UserError = "INVALID CLASS"; 00494 break; 00495 case ERROR_INVALID_METHOD_PARAM: 00496 UserError = "INVALID METHOD PARAM"; 00497 break; 00498 case ERROR_INVALID_METHOD: 00499 UserError = "INVALID METHOD"; 00500 break; 00501 case ERROR_RESULT_MESSAGE_OVERFLOW: 00502 UserError = "RESULT MESSAGE OVERFLOW"; 00503 break; 00504 case ERROR_MAX_STORAGE_NODES: 00505 UserError = "MAX STORAGE NODES"; 00506 break; 00507 case ERROR_MESSAGE_DATA_FORMAT: 00508 UserError = "MESSAGE DATA FORMAT"; 00509 break; 00510 case ERROR_CALL_MESSAGE_OVERFLOW: 00511 UserError = "CALL MESSAGE OVERFLOW"; 00512 break; 00513 case ERROR_INVALID_BUFFER: 00514 UserError = "INVALID BUFFER"; 00515 break; 00516 case ERROR_LOGFILE: 00517 UserError = "LOG FILE"; 00518 break; 00519 case ERROR_CREATE_CONFIGFILE: 00520 UserError = "CREATE CONFIG FILE"; 00521 break; 00522 case ERROR_OPEN_CONFIGFILE: 00523 UserError = "OPEN CONFIG FILE"; 00524 break; 00525 case ERROR_INVALID_CONFIGFILE: 00526 UserError = "INVALID CONFIG FILE"; 00527 break; 00528 case ERROR_LARGE_ROOTNAME: 00529 UserError = "LARGE ROOT NAME"; 00530 break; 00531 case ERROR_CREATE_ROOT: 00532 UserError = "CREATE ROOT"; 00533 break; 00534 case ERROR_CLOSED_CONNECTION: 00535 UserError = "CLOSED CONNECTION"; 00536 break; 00537 case ERROR_PERMISSION_DENIED: 00538 UserError = "PERMISSION DENIED"; 00539 break; 00540 // Erros gerados pela implementacao de logs. 00541 case ERROR_LOGFILE_OPEN_FAILED: 00542 UserError = "LOGFILE OPEN FAILED"; 00543 break; 00544 case ERROR_LOGFILE_READ_FAILED: 00545 UserError = "LOGFILE READ FAILED"; 00546 break; 00547 case ERROR_LOGFILE_WRITE_FAILED: 00548 UserError = "LOGFILE WRITE FAILED"; 00549 break; 00550 case ERROR_LOGFILE_CLOSE_FAILED: 00551 UserError = "LOGFILE CLOSE FAILED"; 00552 break; 00553 case ERROR_LOGFILE_LINE_FORMAT: 00554 UserError = "LOGFILE LINE FORMAT"; 00555 break; 00556 case ERROR_LOGFILE_FILENAME_FORMAT: 00557 UserError = "LOGFILE FILENAME FORMAT"; 00558 break; 00559 case ERROR_LOGFILES_LIST: 00560 UserError = "LOGFILES LIST"; 00561 break; 00562 case ERROR_LOGLINE_TOOLARGE: 00563 UserError = "LOGLINE TOOLARGE"; 00564 break; 00565 case ERROR_LOGFILE_REMOVE_FAILED: 00566 UserError = "LOGFILE REMOVE FAILED"; 00567 break; 00568 case ERROR_LOGROTATION_SEARCH_FAILED: 00569 UserError = "LOGROTATION SEARCH FAILED"; 00570 break; 00571 case ERROR_INITIALIZE_LOGROTATION: 00572 UserError = "INITIALIZE LOGROTATION"; 00573 break; 00574 case ERROR_CREATE_SEARCHRESULT_FILENAME: 00575 UserError = "CREATE SEARCHRESULT FILENAME"; 00576 break; 00577 case ERROR_OPEN_SEARCHRESULT_FILE: 00578 UserError = "OPEN SEARCHRESULT FILE"; 00579 break; 00580 case ERROR_READ_SEARCHRESULT_FILE: 00581 UserError = "READ SEARCHRESULT FILE"; 00582 break; 00583 case ERROR_INVALID_SEARCHRESULT_IDENTIFICATION: 00584 UserError = "INVALID SEARCHRESULT IDENTIFICATION"; 00585 break; 00586 case ERROR_REMOVE_SEARCHRESULT_FILE: 00587 UserError = "REMOVE SEARCHRESULT FILE"; 00588 break; 00589 case ERROR_INITIALIZE_SEARCHLOGS: 00590 UserError = "INITIALIZE SEARCHLOGS"; 00591 break; 00592 case ERROR_SEARCHLOGS_SEARCH_TYPE: 00593 UserError = "SEARCHLOGS SEARCH TYPE"; 00594 break; 00595 case ERROR_SEARCHLOGS_TIME_INTERVAL: 00596 UserError = "SEARCHLOGS TIME INTERVAL"; 00597 break; 00598 // Novo erro gerado quando o numero de servidores de armazenamento 00599 // ativos deixa de permitir que os servicos sejam corratamente 00600 // garantidos. 00601 case ERROR_SERVICE_TEMPORARY_UNAVAILABLE: 00602 UserError = "SERVICE TEMPORARY UNAVAILABLE"; 00603 break; 00604 // Novo erro para indicar que nao foi possivel ler o arquivo que 00605 // armazena os blocos a serem liberados de um servidor de armazenamento 00606 case ERROR_OPEN_FREEBLOCKS_FILE: 00607 UserError = "OPEN FREEBLOCKS FILE"; 00608 break; 00609 // Novo erro, gerado pelo modulo, para indicar que nao foi passado um 00610 // nome de objeto para ser lido/gravado. 00611 case ERROR_OBJECT_NOT_DEFINED: 00612 UserError = "OBJECT NOT DEFINED"; 00613 break; 00614 // Novo erro usado para indicar que nenhum nome foi definido para um 00615 // servidor. 00616 case ERROR_SERVER_NOT_DEFINED: 00617 UserError = "SERVER NOT DEFINED"; 00618 break; 00619 // Novo erro usado para indicar que um nome incorreto foi passado ao 00620 // modulo. 00621 case ERROR_INVALID_MODULE_POLICY: 00622 UserError = "INVALID MODULE POLICY"; 00623 break; 00624 // Novo erro usado para indicar que uma conexao TCP fechou por timeout. 00625 case ERROR_SOCKET_TIMEOUT: 00626 UserError = "SOCKET TIMEOUT"; 00627 break; 00628 // Novo erro usado para indicar que ocorreu um erro ao executar o 00629 // select. 00630 case ERROR_SOCKETS_SELECT: 00631 UserError = "SOCKETS SELECT"; 00632 break; 00633 // Novo erro usado para indicar que um recursos ainda nao foi 00634 // implememtado. 00635 case ERROR_NOT_IMPLEMENTED: 00636 UserError = "NOT IMPLEMENTED"; 00637 break; 00638 // Novo erro usado para indicar que uma chamada a funcao ioctl falhou. 00639 case ERROR_IOCTL_FAILED: 00640 UserError = "IOCTL FAILED"; 00641 break; 00642 // Novo erro usado para indicar que o socket foi fechado. 00643 case ERROR_SOCKET_CLOSED: 00644 UserError = "SOCKET CLOSED"; 00645 break; 00646 // Novo erro usado para indicar (as callbacks), que a classe de 00647 // gerenciamento de transferencias (CTransferInfo) foi removida. 00648 case ERROR_PROCESS_TERMINATED: 00649 UserError = "PROCESS TERMINATED"; 00650 break; 00651 // Novo erro usado para indicar um identificador invalido de 00652 // trasnferencia. 00653 case ERROR_INVALID_TRANSFERID: 00654 UserError = "INVALID TRANSFERID"; 00655 break; 00656 // Novo erro usado para indicar que o par IP, Porta de um Host nao e o 00657 // correto. 00658 case ERROR_INVALID_HOST: 00659 UserError = "INVALID HOST"; 00660 break; 00661 // Erro usado pelo modulo quando a linha do log nao e definida nas 00662 // opcoes da opcao userlogs para salvar os logs de comportamento. 00663 case ERROR_LOGLINE_NOT_DEFINED: 00664 UserError = "LOGLINE NOT DEFINED"; 00665 break; 00666 // Novo erro usado para indicar que a opcao que define o comando nao foi 00667 // usada ao usarmos a opcao "exec.rio" do modulo. 00668 case ERROR_COMMAND_NOT_DEFINED: 00669 UserError = "COMMAND NOT DEFINED"; 00670 break; 00671 // Novo erro usado para indicar que um comando invalido foi passado pela 00672 // opcao "exec.rio" do modulo. 00673 case ERROR_INVALID_COMMAND: 00674 UserError = "INVALID COMMAND"; 00675 break; 00676 // Novo erro usado para indicar um erro de sintaxe em um dos comandos 00677 // executados pela opcao "exec.rio" do modulo. 00678 case ERROR_COMMAND_SYNTAX: 00679 UserError = "COMMAND SYNTAX"; 00680 break; 00681 // Novo erro usado para indicar que a opcao que defineo identificador da 00682 // sessao nao foi usada ao usarmos a opcao "exec.rio" do modulo com um 00683 // comando diferente do login. 00684 case ERROR_SESSIONID_NOT_DEFINED: 00685 UserError = "SESSIONID NOT DEFINED"; 00686 break; 00687 // Novo erro usado para indicar que a opcao que define identificador da 00688 // sessao foi usada ao usarmos a opcao "exec.rio" do modulo com o 00689 // comando login. 00690 case ERROR_SESSIONID_ALREADY_DEFINED: 00691 UserError = "SESSIONID ALREADY DEFINED"; 00692 break; 00693 // Novo erro usado para indicar que ocorreu algum erro durante a copia 00694 // (erro ao copiar o bloco de/para o servidor ou de/para o cliente). 00695 case ERROR_COPYING_OBJECT: 00696 UserError = "COPYING OBJECT"; 00697 break; 00698 // Novo erro usado para indicar que o metodo usado pelo pedido nao e uma 00699 // conexao segura (https). 00700 case ERROR_HTTPS_REQUIRED: 00701 UserError = "HTTPS REQUIRED"; 00702 break; 00703 // Novo erro para indicar que um usuario ja existe. 00704 case ERROR_USER_EXISTS: 00705 UserError = "USER EXISTS"; 00706 break; 00707 // Novo erro para indicar que existe um erro com o diretorio do usuario. 00708 case ERROR_INVALID_USER_DIRECTORY: 00709 UserError = "INVALID USER DIRECTORY"; 00710 break; 00711 // Novo erro para indicar que ocorreu um erro ao ler o arquivo com os 00712 // usuarios e as senhas. 00713 case ERROR_RIOPASSWORD_FILE: 00714 UserError = "RIOPASSWORD FILE"; 00715 break; 00716 default: 00717 UserError = "UNKNOWN"; 00718 00719 #ifdef RIO_DEBUG2 00720 showstack = true; 00721 #endif 00722 00723 break; 00724 } 00725 00726 #ifdef RIO_DEBUG2 00727 if( showstack ) 00728 { 00729 RioErr << "error = " << error << endl; 00730 RioErr << "RioError:UserError= " << RioError << ":" << UserError 00731 << endl; 00732 00733 void *trace[16]; 00734 char **messages = (char **)NULL; 00735 int i, trace_size = 0; 00736 00737 trace_size = backtrace( trace, 16 ); 00738 messages = backtrace_symbols( trace, trace_size ); 00739 RioErr << "[RioError] Execution path (SERVER DID NOT EXPLODE!):" 00740 << endl; 00741 for( i = 0; i < trace_size; ++i ) 00742 RioErr << "[RioError(" << i << "/" << trace_size << ")] " 00743 << messages[i] << endl; 00744 00745 free( messages ); 00746 } 00747 #endif 00748 00749 return RioError + ": " + UserError; 00750 }
char* myInfo | ( | bool | parseHour = true |
) |
Definition at line 780 of file RioError.cpp.
00781 { 00782 struct tm *date; 00783 time_t segundos; 00784 ostringstream s; 00785 char *info; 00786 // Nome do arquivo do processo, e um descritor para ler o arquivo. 00787 FILE *processfiledesc; 00788 char processfilename[ MaxPathSize ]; 00789 00790 time( &segundos ); 00791 00792 //Jogando em 's' o pid da thread atual e a hora atual. 00793 s << "[TID:" << pthread_self() << ",LWP:" << syscall( SYS_gettid ) << "|"; 00794 00795 if( parseHour == true ) 00796 { 00797 date = localtime( &segundos ); 00798 s << date->tm_hour << ":" << date->tm_min << ":" << date->tm_sec; 00799 } 00800 else 00801 { 00802 s << segundos; 00803 } 00804 00805 00806 // Abre o arquivo /proc com o estado do processo. 00807 sprintf( processfilename, "/proc/%u/stat", getpid() ); 00808 processfiledesc = fopen( processfilename, "r" ); 00809 if( processfiledesc != NULL ) 00810 { 00811 unsigned long usedmemory; 00812 int processed; 00813 processed = fscanf(processfiledesc, 00814 "%*d %*s %*c %*d %*d %*d %*d %*d %*u %*u %*u %*u %*u %*u %*u %*d %*d %*d %*d %*d %*d %*u %lu", 00815 &usedmemory ); 00816 fclose( processfiledesc ); 00817 if( processed == 1 ) 00818 s << "|" << usedmemory; 00819 } 00820 s << "] "; 00821 00822 info = strdup( s.str().c_str() ); 00823 return info; 00824 }
Definition at line 1449 of file RioError.cpp.
01450 { 01451 pthread_mutex_lock( &err_mutex ); 01452 01453 if( printHeader ) 01454 { 01455 void *trace[ 32 ]; 01456 char *myinfo; 01457 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01458 //come�a com tamanho 4, da� 01459 //subrai-se 3 aqui. 01460 01461 myinfo = myInfo(); 01462 cerr << myinfo; 01463 free( myinfo ); 01464 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01465 cerr << "[" << trace_size << "] " << s; 01466 printHeader = false; 01467 } 01468 else 01469 { 01470 cerr << s; 01471 pthread_mutex_unlock( &err_mutex ); 01472 } 01473 01474 return out; 01475 }
Definition at line 1421 of file RioError.cpp.
01422 { 01423 pthread_mutex_lock( &err_mutex ); 01424 01425 if( printHeader ) 01426 { 01427 void *trace[ 32 ]; 01428 char *myinfo; 01429 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01430 //come�a com tamanho 4, da� 01431 //subrai-se 3 aqui. 01432 01433 myinfo = myInfo(); 01434 cerr << myinfo; 01435 free( myinfo ); 01436 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01437 cerr << "[" << trace_size << "] " << s; 01438 printHeader = false; 01439 } 01440 else 01441 { 01442 cerr << s; 01443 pthread_mutex_unlock( &err_mutex ); 01444 } 01445 01446 return out; 01447 }
Definition at line 1393 of file RioError.cpp.
01394 { 01395 pthread_mutex_lock( &err_mutex ); 01396 01397 if( printHeader ) 01398 { 01399 void *trace[ 32 ]; 01400 char *myinfo; 01401 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01402 //come�a com tamanho 4, da� 01403 //subrai-se 3 aqui. 01404 01405 myinfo = myInfo(); 01406 cerr << myinfo; 01407 free( myinfo ); 01408 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01409 cerr << "[" << trace_size << "] " << s; 01410 printHeader = false; 01411 } 01412 else 01413 { 01414 cerr << s; 01415 pthread_mutex_unlock( &err_mutex ); 01416 } 01417 01418 return out; 01419 }
Definition at line 1365 of file RioError.cpp.
01366 { 01367 pthread_mutex_lock( &err_mutex ); 01368 01369 if( printHeader ) 01370 { 01371 void *trace[ 32 ]; 01372 char *myinfo; 01373 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01374 //come�a com tamanho 4, da� 01375 //subrai-se 3 aqui. 01376 01377 myinfo = myInfo(); 01378 cerr << myinfo; 01379 free( myinfo ); 01380 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01381 cerr << "[" << trace_size << "] " << s; 01382 printHeader = false; 01383 } 01384 else 01385 { 01386 cerr << s; 01387 pthread_mutex_unlock( &err_mutex ); 01388 } 01389 01390 return out; 01391 }
Definition at line 1337 of file RioError.cpp.
01338 { 01339 pthread_mutex_lock( &err_mutex ); 01340 01341 if( printHeader ) 01342 { 01343 void *trace[ 32 ]; 01344 char *myinfo; 01345 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01346 //come�a com tamanho 4, da� 01347 //subrai-se 3 aqui. 01348 01349 myinfo = myInfo(); 01350 cerr << myinfo; 01351 free( myinfo ); 01352 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01353 cerr << "[" << trace_size << "] " << c; 01354 printHeader = false; 01355 } 01356 else 01357 { 01358 cerr << c; 01359 pthread_mutex_unlock( &err_mutex ); 01360 } 01361 01362 return out; 01363 }
Definition at line 1309 of file RioError.cpp.
01310 { 01311 pthread_mutex_lock( &err_mutex ); 01312 01313 if( printHeader ) 01314 { 01315 void *trace[ 32 ]; 01316 char *myinfo; 01317 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01318 //come�a com tamanho 4, da� 01319 //subrai-se 3 aqui. 01320 01321 myinfo = myInfo(); 01322 cerr << myinfo; 01323 free( myinfo ); 01324 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01325 cerr << "[" << trace_size << "] " << c; 01326 printHeader = false; 01327 } 01328 else 01329 { 01330 cerr << c; 01331 pthread_mutex_unlock( &err_mutex ); 01332 } 01333 01334 return out; 01335 }
Definition at line 1281 of file RioError.cpp.
01282 { 01283 pthread_mutex_lock( &err_mutex ); 01284 01285 if( printHeader ) 01286 { 01287 void *trace[ 32 ]; 01288 char *myinfo; 01289 int trace_size = backtrace( trace, 32 ) - 4; // Foi percebido que a pilha 01290 //come�a com tamanho 4, da� 01291 //subrai-se 3 aqui. 01292 01293 myinfo = myInfo(); 01294 cerr << myinfo; 01295 free( myinfo ); 01296 for( int j = trace_size; j > 0; j-- ) cerr << " "; 01297 cerr << "[" << trace_size << "] " << c; 01298 printHeader = false; 01299 } 01300 else 01301 { 01302 cerr << c; 01303 pthread_mutex_unlock( &err_mutex ); 01304 } 01305 01306 return out; 01307 }
void Rioperror | ( | const char * | msg | ) |
Definition at line 752 of file RioError.cpp.
00753 { 00754 int err; 00755 err = errno; // garda o valor de errno, para garantir que vamos imprimir o 00756 // erro correto. 00757 RioErr << msg << ": " << strerror( err ) << endl; 00758 }
void showtimenow | ( | string | msg | ) |
Definition at line 826 of file RioError.cpp.
00827 { 00828 static struct timeval velhoold; 00829 static bool primeiravez = true; 00830 struct timeval now; 00831 00832 gettimeofday( &now, 0 ); 00833 00834 if( !primeiravez ) 00835 { 00836 RioErr << "PID: " << pthread_self() << " - intervalo: " 00837 << (now.tv_sec*1000000+now.tv_usec)- 00838 (velhoold.tv_sec*1000000+velhoold.tv_usec) 00839 << " (" << msg << ")" << endl; 00840 } 00841 else 00842 { 00843 RioErr << "PID: " << pthread_self() << " - Tempo 0" 00844 << " (" << msg << ")." << endl; 00845 00846 primeiravez = false; 00847 } 00848 00849 velhoold = now; 00850 }
const unsigned int ERROR_CAC_STREAM_NOT_OPENED = 0x53 |
Definition at line 208 of file RioError.h.
const unsigned int ERROR_CALL_MESSAGE_OVERFLOW = 0xAE |
Definition at line 353 of file RioError.h.
const unsigned int ERROR_CLOSED_CONNECTION = 0xF7 |
Definition at line 466 of file RioError.h.
const unsigned int ERROR_CODE_MASK = 0x000000FF |
Definition at line 478 of file RioError.h.
const unsigned int ERROR_COMMAND_NOT_DEFINED = 0xBA |
Definition at line 387 of file RioError.h.
const unsigned int ERROR_COMMAND_SYNTAX = 0xBC |
Definition at line 393 of file RioError.h.
const unsigned int ERROR_CONNECTED = 0x38 |
Definition at line 169 of file RioError.h.
const unsigned int ERROR_COPYING_OBJECT = 0xBF |
Definition at line 403 of file RioError.h.
const unsigned int ERROR_CREATE_CONFIGFILE = 0xF2 |
Definition at line 455 of file RioError.h.
const unsigned int ERROR_CREATE_EVENT = 0x85 |
Definition at line 266 of file RioError.h.
const unsigned int ERROR_CREATE_INSTANCE = 0x90 |
Definition at line 290 of file RioError.h.
const unsigned int ERROR_CREATE_MUTEX = 0x8C |
Definition at line 280 of file RioError.h.
const unsigned int ERROR_CREATE_ROOT = 0xF6 |
Definition at line 463 of file RioError.h.
const unsigned int ERROR_CREATE_SEARCHRESULT_FILENAME = 0xD1 |
Definition at line 430 of file RioError.h.
const unsigned int ERROR_CREATE_SEMAPHORE = 0x8F |
Definition at line 286 of file RioError.h.
const unsigned int ERROR_CREATE_THREAD = 0x89 |
Definition at line 274 of file RioError.h.
const unsigned int ERROR_DIRECTORY_READ_FAILED = 0x40 |
Definition at line 185 of file RioError.h.
const unsigned int ERROR_DISK_GEOMETRY = 0x81 |
Definition at line 258 of file RioError.h.
const unsigned int ERROR_DISK_OPEN = 0x96 |
Definition at line 303 of file RioError.h.
const unsigned int ERROR_DISK_READ = 0x84 |
Definition at line 264 of file RioError.h.
const unsigned int ERROR_DISK_SEEK = 0x82 |
Definition at line 260 of file RioError.h.
const unsigned int ERROR_DISK_WRITE = 0x83 |
Definition at line 262 of file RioError.h.
const unsigned int ERROR_DISKFULL = 0x2D |
Definition at line 147 of file RioError.h.
const unsigned int ERROR_HOST_NOTFOUND = 0xA1 |
Definition at line 326 of file RioError.h.
const unsigned int ERROR_HOSTBYNAME = 0xA0 |
Definition at line 324 of file RioError.h.
const unsigned int ERROR_HTTPS_REQUIRED = 0x5F |
Definition at line 243 of file RioError.h.
const unsigned int ERROR_INITIALIZE_LOGROTATION = 0xD0 |
Definition at line 428 of file RioError.h.
const unsigned int ERROR_INITIALIZE_SEARCHLOGS = 0xD6 |
Definition at line 440 of file RioError.h.
const unsigned int ERROR_INITIALIZED = 0x01 |
Definition at line 104 of file RioError.h.
const unsigned int ERROR_INVALID_ACCESS_TYPE = 0x2C |
Definition at line 145 of file RioError.h.
const unsigned int ERROR_INVALID_BLOCK = 0x42 |
Definition at line 193 of file RioError.h.
const unsigned int ERROR_INVALID_BLOCKSIZE = 0x2A |
Definition at line 141 of file RioError.h.
const unsigned int ERROR_INVALID_BUFFER = 0xAF |
Definition at line 355 of file RioError.h.
const unsigned int ERROR_INVALID_CLASS = 0xA8 |
Definition at line 341 of file RioError.h.
const unsigned int ERROR_INVALID_COMMAND = 0xBB |
Definition at line 390 of file RioError.h.
const unsigned int ERROR_INVALID_CONFIGFILE = 0xF4 |
Definition at line 459 of file RioError.h.
const unsigned int ERROR_INVALID_DIRECTION = 0x2B |
Definition at line 143 of file RioError.h.
const unsigned int ERROR_INVALID_DIRECTORYNAME = 0x41 |
Definition at line 187 of file RioError.h.
const unsigned int ERROR_INVALID_DISK = 0xA6 |
Definition at line 337 of file RioError.h.
const unsigned int ERROR_INVALID_HOST = 0xB8 |
Definition at line 381 of file RioError.h.
const unsigned int ERROR_INVALID_LOGICAL_BLOCK = 0x36 |
Definition at line 165 of file RioError.h.
const unsigned int ERROR_INVALID_METHOD = 0xAA |
Definition at line 345 of file RioError.h.
const unsigned int ERROR_INVALID_METHOD_PARAM = 0xA9 |
Definition at line 343 of file RioError.h.
const unsigned int ERROR_INVALID_MODULE_POLICY = 0x5E |
Definition at line 240 of file RioError.h.
const unsigned int ERROR_INVALID_OBJECT_HANDLE = 0x35 |
Definition at line 163 of file RioError.h.
const unsigned int ERROR_INVALID_OBJECT_TYPE = 0x2F |
Definition at line 151 of file RioError.h.
const unsigned int ERROR_INVALID_OBJECTNAME = 0x31 |
Definition at line 155 of file RioError.h.
const unsigned int ERROR_INVALID_OPERATION = 0x23 |
Definition at line 125 of file RioError.h.
const unsigned int ERROR_INVALID_PARAM = 0x22 |
Definition at line 119 of file RioError.h.
const unsigned int ERROR_INVALID_PHYSICAL_BLOCK = 0x24 |
Definition at line 129 of file RioError.h.
const unsigned int ERROR_INVALID_SEARCHRESULT_IDENTIFICATION = 0xD4 |
Definition at line 436 of file RioError.h.
const unsigned int ERROR_INVALID_SESSION = 0x26 |
Definition at line 133 of file RioError.h.
const unsigned int ERROR_INVALID_STREAM = 0x21 |
Definition at line 117 of file RioError.h.
const unsigned int ERROR_INVALID_TRAFFIC = 0x29 |
Definition at line 139 of file RioError.h.
const unsigned int ERROR_INVALID_TRANSFERID = 0xB7 |
Definition at line 377 of file RioError.h.
const unsigned int ERROR_INVALID_USER = 0x56 |
Definition at line 215 of file RioError.h.
const unsigned int ERROR_INVALID_USER_DIRECTORY = 0x61 |
Definition at line 247 of file RioError.h.
const unsigned int ERROR_INVALID_VERSION = 0xA5 |
Definition at line 334 of file RioError.h.
const unsigned int ERROR_IOCTL_FAILED = 0xB4 |
Definition at line 368 of file RioError.h.
const unsigned int ERROR_LARGE_NAME = 0x2E |
Definition at line 149 of file RioError.h.
const unsigned int ERROR_LARGE_ROOTNAME = 0xF5 |
Definition at line 461 of file RioError.h.
const unsigned int ERROR_LOCALHOSTNAME = 0x9F |
Definition at line 322 of file RioError.h.
const unsigned int ERROR_LOGFILE = 0xF1 |
Definition at line 453 of file RioError.h.
const unsigned int ERROR_LOGFILE_CLOSE_FAILED = 0xC3 |
Definition at line 414 of file RioError.h.
const unsigned int ERROR_LOGFILE_FILENAME_FORMAT = 0xC5 |
Definition at line 418 of file RioError.h.
const unsigned int ERROR_LOGFILE_LINE_FORMAT = 0xC4 |
Definition at line 416 of file RioError.h.
const unsigned int ERROR_LOGFILE_OPEN_FAILED = 0xC0 |
Definition at line 408 of file RioError.h.
const unsigned int ERROR_LOGFILE_READ_FAILED = 0xC1 |
Definition at line 410 of file RioError.h.
const unsigned int ERROR_LOGFILE_REMOVE_FAILED = 0xC8 |
Definition at line 424 of file RioError.h.
const unsigned int ERROR_LOGFILE_WRITE_FAILED = 0xC2 |
Definition at line 412 of file RioError.h.
const unsigned int ERROR_LOGFILES_LIST = 0xC6 |
Definition at line 420 of file RioError.h.
const unsigned int ERROR_LOGLINE_NOT_DEFINED = 0xD9 |
Definition at line 450 of file RioError.h.
const unsigned int ERROR_LOGLINE_TOOLARGE = 0xC7 |
Definition at line 422 of file RioError.h.
const unsigned int ERROR_LOGROTATION_SEARCH_FAILED = 0xC9 |
Definition at line 426 of file RioError.h.
const unsigned int ERROR_MAX_OPENED_OBJECTS = 0x34 |
Definition at line 161 of file RioError.h.
const unsigned int ERROR_MAX_SESSIONS = 0x25 |
Definition at line 131 of file RioError.h.
const unsigned int ERROR_MAX_STORAGE_NODES = 0xAC |
Definition at line 349 of file RioError.h.
const unsigned int ERROR_MAX_STREAM_REQUESTS = 0x43 |
Definition at line 197 of file RioError.h.
const unsigned int ERROR_MAX_STREAMS = 0x27 |
Definition at line 135 of file RioError.h.
const unsigned int ERROR_MEMORY = 0x92 |
Definition at line 294 of file RioError.h.
const unsigned int ERROR_MESSAGE_DATA_FORMAT = 0xAD |
Definition at line 351 of file RioError.h.
const unsigned int ERROR_METADATA_CORRUPTED = 0x93 |
Definition at line 296 of file RioError.h.
const unsigned int ERROR_NAMEBUFFER_OVERFLOW = 0x3E |
Definition at line 181 of file RioError.h.
const unsigned int ERROR_NO_MAPPING = 0xF9 |
Definition at line 474 of file RioError.h.
const unsigned int ERROR_NO_MORE_OBJECTS = 0x3F |
Definition at line 183 of file RioError.h.
const unsigned int ERROR_NO_USER_ERROR = 0x00 |
Definition at line 102 of file RioError.h.
const unsigned int ERROR_NOT_CLIENT = 0x3A |
Definition at line 173 of file RioError.h.
const unsigned int ERROR_NOT_DIRECTORY = 0x59 |
Definition at line 222 of file RioError.h.
const unsigned int ERROR_NOT_EXCLUSIVE_ACCESS = 0x37 |
Definition at line 167 of file RioError.h.
const unsigned int ERROR_NOT_IMPLEMENTED = 0xB3 |
Definition at line 366 of file RioError.h.
const unsigned int ERROR_NOT_INITIALIZED = 0x02 |
Definition at line 106 of file RioError.h.
const unsigned int ERROR_NOT_SERVER = 0x3B |
Definition at line 175 of file RioError.h.
const unsigned int ERROR_NOT_STARTED = 0x04 |
Definition at line 110 of file RioError.h.
const unsigned int ERROR_NOTCONNECTED = 0x39 |
Definition at line 171 of file RioError.h.
const unsigned int ERROR_OBJECT_ALREADY_OPENED = 0x54 |
Definition at line 210 of file RioError.h.
const unsigned int ERROR_OBJECT_EXISTS = 0x30 |
Definition at line 153 of file RioError.h.
const unsigned int ERROR_OBJECT_IS_DIRECTORY = 0x3C |
Definition at line 177 of file RioError.h.
const unsigned int ERROR_OBJECT_METADATA_CORRUPTED = 0x95 |
Definition at line 300 of file RioError.h.
const unsigned int ERROR_OBJECT_METADATA_WRITE = 0x94 |
Definition at line 298 of file RioError.h.
const unsigned int ERROR_OBJECT_NOT_DEFINED = 0x5C |
Definition at line 234 of file RioError.h.
const unsigned int ERROR_OBJECT_NOT_DIRECTORY = 0x3D |
Definition at line 179 of file RioError.h.
const unsigned int ERROR_OBJECT_NOT_OPENED = 0x55 |
Definition at line 212 of file RioError.h.
const unsigned int ERROR_OBJECT_OPEN_FAILED = 0x32 |
Definition at line 157 of file RioError.h.
const unsigned int ERROR_OBJECT_REMOVE_FAILED = 0x33 |
Definition at line 159 of file RioError.h.
const unsigned int ERROR_OPEN_CONFIGFILE = 0xF3 |
Definition at line 457 of file RioError.h.
const unsigned int ERROR_OPEN_FREEBLOCKS_FILE = 0x5B |
Definition at line 231 of file RioError.h.
const unsigned int ERROR_OPEN_SEARCHRESULT_FILE = 0xD2 |
Definition at line 432 of file RioError.h.
const unsigned int ERROR_PATHNAME_BADSYNTAX = 0x58 |
Definition at line 220 of file RioError.h.
const unsigned int ERROR_PATHNAME_TOOLARGE = 0x57 |
Definition at line 218 of file RioError.h.
const unsigned int ERROR_PERMISSION_DENIED = 0xF8 |
Definition at line 468 of file RioError.h.
const unsigned int ERROR_PROCESS_TERMINATED = 0xB6 |
Definition at line 374 of file RioError.h.
const unsigned int ERROR_QUERY_INTERFACE = 0x91 |
Definition at line 292 of file RioError.h.
const unsigned int ERROR_QUEUE_EMPTY = 0xA7 |
Definition at line 339 of file RioError.h.
const unsigned int ERROR_READ_SEARCHRESULT_FILE = 0xD3 |
Definition at line 434 of file RioError.h.
const unsigned int ERROR_RELEASE_MUTEX = 0x8E |
Definition at line 284 of file RioError.h.
const unsigned int ERROR_REMOVE_SEARCHRESULT_FILE = 0xD5 |
Definition at line 438 of file RioError.h.
const unsigned int ERROR_REQUEST_TYPE = 0x20 |
Definition at line 115 of file RioError.h.
const unsigned int ERROR_RESET_EVENT = 0x87 |
Definition at line 270 of file RioError.h.
const unsigned int ERROR_RESULT_MESSAGE_OVERFLOW = 0xAB |
Definition at line 347 of file RioError.h.
const unsigned int ERROR_RIO_PROTOCOL = 0xA4 |
Definition at line 332 of file RioError.h.
const unsigned int ERROR_RIOPASSWORD_FILE = 0x62 |
Definition at line 250 of file RioError.h.
const unsigned int ERROR_SEARCHLOGS_SEARCH_TYPE = 0xD7 |
Definition at line 442 of file RioError.h.
const unsigned int ERROR_SEARCHLOGS_TIME_INTERVAL = 0xD8 |
Definition at line 444 of file RioError.h.
const unsigned int ERROR_SERVER_NOT_DEFINED = 0x5D |
Definition at line 236 of file RioError.h.
const unsigned int ERROR_SERVICE_TEMPORARY_UNAVAILABLE = 0x5A |
Definition at line 227 of file RioError.h.
const unsigned int ERROR_SESSION_ALREADY_OPENED = 0x4F |
Definition at line 200 of file RioError.h.
const unsigned int ERROR_SESSION_NOT_OPENED = 0x50 |
Definition at line 202 of file RioError.h.
const unsigned int ERROR_SESSIONID_ALREADY_DEFINED = 0xBE |
Definition at line 400 of file RioError.h.
const unsigned int ERROR_SESSIONID_NOT_DEFINED = 0xBD |
Definition at line 397 of file RioError.h.
const unsigned int ERROR_SET_EVENT = 0x86 |
Definition at line 268 of file RioError.h.
const unsigned int ERROR_SOCKET_ACCEPT = 0x9E |
Definition at line 320 of file RioError.h.
const unsigned int ERROR_SOCKET_ACCEPT_CRITICAL = 0xB9 |
Definition at line 383 of file RioError.h.
const unsigned int ERROR_SOCKET_BIND = 0x9A |
Definition at line 312 of file RioError.h.
const unsigned int ERROR_SOCKET_CLOSED = 0xB5 |
Definition at line 370 of file RioError.h.
const unsigned int ERROR_SOCKET_CONNECT = 0x9D |
Definition at line 318 of file RioError.h.
const unsigned int ERROR_SOCKET_CREATE = 0x99 |
Definition at line 310 of file RioError.h.
const unsigned int ERROR_SOCKET_LIBRARY = 0x98 |
Definition at line 308 of file RioError.h.
const unsigned int ERROR_SOCKET_LISTEN = 0x9B |
Definition at line 314 of file RioError.h.
const unsigned int ERROR_SOCKET_OPTIONS = 0xB0 |
Definition at line 358 of file RioError.h.
const unsigned int ERROR_SOCKET_RECEIVE = 0x9C |
Definition at line 316 of file RioError.h.
const unsigned int ERROR_SOCKET_REFUSED_CONNECTION = 0xA3 |
Definition at line 330 of file RioError.h.
const unsigned int ERROR_SOCKET_SEND = 0xA2 |
Definition at line 328 of file RioError.h.
const unsigned int ERROR_SOCKET_TIMEOUT = 0xB1 |
Definition at line 362 of file RioError.h.
const unsigned int ERROR_SOCKETS_SELECT = 0xB2 |
Definition at line 364 of file RioError.h.
const unsigned int ERROR_STARTED = 0x03 |
Definition at line 108 of file RioError.h.
const unsigned int ERROR_STREAM_ACTIVE = 0x05 |
Definition at line 112 of file RioError.h.
const unsigned int ERROR_STREAM_ALREADY_OPENED = 0x51 |
Definition at line 204 of file RioError.h.
const unsigned int ERROR_STREAM_NOT_OPENED = 0x52 |
Definition at line 206 of file RioError.h.
const unsigned int ERROR_STREAM_REFUSED = 0x28 |
Definition at line 137 of file RioError.h.
const unsigned int ERROR_SYSTEM_CONFIGURATION = 0x97 |
Definition at line 305 of file RioError.h.
const unsigned int ERROR_THREAD_ATTRIB = 0x8B |
Definition at line 278 of file RioError.h.
const unsigned int ERROR_UNEXPECTED = 0x80 |
Definition at line 256 of file RioError.h.
const unsigned int ERROR_USER_EXISTS = 0x60 |
Definition at line 245 of file RioError.h.
const unsigned int ERROR_WAIT_EVENT = 0x88 |
Definition at line 272 of file RioError.h.
const unsigned int ERROR_WAIT_MUTEX = 0x8D |
Definition at line 282 of file RioError.h.
const unsigned int ERROR_WAIT_THREAD = 0x8A |
Definition at line 276 of file RioError.h.
RioErr � a inst�ncia global da classe debugCerr utilizada para exibir mensagens de debug.
A formata��o, definida no operator<< sobrecarregado para a classe debugCerr, consiste em mostrar hierarquia entre m�todos, tabulando-os segundo sua posi��o na pilha de execu��o. Antes da tabula��o, o id da thread correspondente � exibido.
Definition at line 767 of file RioError.cpp.