TLS Errors

- Added TLS error to output during client init.
This commit is contained in:
Paul Beckingham 2014-09-15 17:02:52 -04:00
parent b367041a36
commit 01d96c25c4
7 changed files with 7 additions and 7 deletions

View file

@ -257,7 +257,7 @@ void TLSClient::connect (const std::string& host, const std::string& port)
{ {
if (_debug) if (_debug)
std::cout << "c: ERROR Certificate verification failed.\n"; std::cout << "c: ERROR Certificate verification failed.\n";
throw std::string (STRING_TLS_INIT_FAIL); throw format (STRING_TLS_INIT_FAIL, gnutls_strerror (ret));
} }
#endif #endif

View file

@ -743,7 +743,7 @@
#define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted." #define STRING_UDA_COLLISION "The UDA named '{1}' is the same as a core attribute, and is not permitted."
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
#define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." #define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field."
#define STRING_TLS_INIT_FAIL "Error initializing TLS." #define STRING_TLS_INIT_FAIL "Error initializing TLS. {1}"
#define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_MEMORY "Problem obtaining memory."
#define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name."

View file

@ -743,7 +743,7 @@
#define STRING_UDA_COLLISION "UDA '{1}' kaj enkonstruita atributo havas la saman nomon. Tio estas malpermesita." #define STRING_UDA_COLLISION "UDA '{1}' kaj enkonstruita atributo havas la saman nomon. Tio estas malpermesita."
#define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'." #define STRING_INVALID_MOD "Atributo '{1}' ne permesas valoron '{2}'."
#define STRING_INVALID_SORT_COL "Kolumno '{1}' ne estas valida kampo por ordigi." #define STRING_INVALID_SORT_COL "Kolumno '{1}' ne estas valida kampo por ordigi."
#define STRING_TLS_INIT_FAIL "Erara eko de TLS." #define STRING_TLS_INIT_FAIL "Erara eko de TLS. {1}"
#define STRING_ERROR_MEMORY "Ne povis akiri memoron." #define STRING_ERROR_MEMORY "Ne povis akiri memoron."
#define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon." #define STRING_ERROR_DETAILS "Agordo 'calendar.details.report' devas enhavi sole unu raportnomon."

View file

@ -750,7 +750,7 @@
#define STRING_UDA_COLLISION "El UDA denominado '{1}' es el mismo que un atributo del núcleo, y no está permitido." #define STRING_UDA_COLLISION "El UDA denominado '{1}' es el mismo que un atributo del núcleo, y no está permitido."
#define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'." #define STRING_INVALID_MOD "El atributo '{1}' no admite un valor '{2}'."
#define STRING_INVALID_SORT_COL "La columna '{1}' no es un campo de ordenación válido." #define STRING_INVALID_SORT_COL "La columna '{1}' no es un campo de ordenación válido."
#define STRING_TLS_INIT_FAIL "Error inicializando TLS." #define STRING_TLS_INIT_FAIL "Error inicializando TLS. {1}"
#define STRING_ERROR_MEMORY "Problema obteniendo memoria." #define STRING_ERROR_MEMORY "Problema obteniendo memoria."
#define STRING_ERROR_DETAILS "La variable de configuración 'calendar.details.report' debe contener un único nombre de informe." #define STRING_ERROR_DETAILS "La variable de configuración 'calendar.details.report' debe contener un único nombre de informe."

View file

@ -742,7 +742,7 @@
#define STRING_UDA_COLLISION "L'ADU nommé '{1}' est le même qu'un attribut du noyau, et ce n'est pas autorisé." #define STRING_UDA_COLLISION "L'ADU nommé '{1}' est le même qu'un attribut du noyau, et ce n'est pas autorisé."
#define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'." #define STRING_INVALID_MOD "The '{1}' attribute does not allow a value of '{2}'."
#define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field." #define STRING_INVALID_SORT_COL "The '{1}' column is not a valid sort field."
#define STRING_TLS_INIT_FAIL "Erreur en initialisant TLS." #define STRING_TLS_INIT_FAIL "Erreur en initialisant TLS. {1}"
#define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_MEMORY "Problem obtaining memory."
#define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name."

View file

@ -743,7 +743,7 @@
#define STRING_UDA_COLLISION "L'UDA '{1}' ha lo stesso nome di un attributo di sistema, e ciò non è permesso." #define STRING_UDA_COLLISION "L'UDA '{1}' ha lo stesso nome di un attributo di sistema, e ciò non è permesso."
#define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'." #define STRING_INVALID_MOD "L'attributo '{1}' non ammette un valore pari a '{2}'."
#define STRING_INVALID_SORT_COL "La colonna '{1}' non è un campo di ordinamento valido." #define STRING_INVALID_SORT_COL "La colonna '{1}' non è un campo di ordinamento valido."
#define STRING_TLS_INIT_FAIL "Error initializing TLS." #define STRING_TLS_INIT_FAIL "Error initializing TLS. {1}"
#define STRING_ERROR_MEMORY "Problem obtaining memory." #define STRING_ERROR_MEMORY "Problem obtaining memory."
#define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name." #define STRING_ERROR_DETAILS "The setting 'calendar.details.report' must contain a single report name."

View file

@ -743,7 +743,7 @@
#define STRING_UDA_COLLISION "O UDA '{1}' tem o mesmo nome que um atributo interno, tal não é permitido." #define STRING_UDA_COLLISION "O UDA '{1}' tem o mesmo nome que um atributo interno, tal não é permitido."
#define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'." #define STRING_INVALID_MOD "O atributo '{1}' não permite o valor '{2}'."
#define STRING_INVALID_SORT_COL "A coluna '{1}' não pode ser ordenada." #define STRING_INVALID_SORT_COL "A coluna '{1}' não pode ser ordenada."
#define STRING_TLS_INIT_FAIL "Erro a iniciar componente TLS." #define STRING_TLS_INIT_FAIL "Erro a iniciar componente TLS. {1}"
#define STRING_ERROR_MEMORY "Problema a alocar memória." #define STRING_ERROR_MEMORY "Problema a alocar memória."
#define STRING_ERROR_DETAILS "A definição 'calendar.details.report' pode apenas indicar um nome de relatório." #define STRING_ERROR_DETAILS "A definição 'calendar.details.report' pode apenas indicar um nome de relatório."