Ssl::ErrorDetailsList Class Reference

#include <ErrorDetailManager.h>

Inheritance diagram for Ssl::ErrorDetailsList:
Collaboration diagram for Ssl::ErrorDetailsList:

Public Types

typedef RefCount< ErrorDetailsListPointer
 
typedef std::map< Security::ErrorCode, ErrorDetailEntryErrorDetails
 

Public Member Functions

bool getRecord (Security::ErrorCode value, ErrorDetailEntry &entry)
 
const char * getErrorDescr (Security::ErrorCode value)
 an error description for an error if exist in list. More...
 
const char * getErrorDetail (Security::ErrorCode value)
 an error details for an error if exist in list. More...
 

Public Attributes

String errLanguage
 The language of the error-details.txt template, if any. More...
 
ErrorDetails theList
 The list of error details entries. More...
 

Detailed Description

Used to hold an error-details.txt template in ram. An error-details,.txt is represented by a list of error detail entries (ErrorDetailEntry objects).

Definition at line 38 of file ErrorDetailManager.h.

Member Typedef Documentation

◆ ErrorDetails

◆ Pointer

Member Function Documentation

◆ getErrorDescr()

const char * Ssl::ErrorDetailsList::getErrorDescr ( Security::ErrorCode  value)

Definition at line 61 of file ErrorDetailManager.cc.

References NULL.

◆ getErrorDetail()

const char * Ssl::ErrorDetailsList::getErrorDetail ( Security::ErrorCode  value)

Definition at line 72 of file ErrorDetailManager.cc.

References NULL, and Ssl::ErrorDetailsManager::TheDetailsManager.

◆ getRecord()

bool Ssl::ErrorDetailsList::getRecord ( Security::ErrorCode  value,
ErrorDetailEntry entry 
)

Retrieves the error details for a given error to "entry" object

Returns
true on success, false otherwise

Definition at line 47 of file ErrorDetailManager.cc.

References Ssl::ErrorDetailEntry::descr, Ssl::ErrorDetailEntry::detail, Ssl::ErrorDetailEntry::error_no, and Ssl::ErrorDetailEntry::name.

Member Data Documentation

◆ errLanguage

String Ssl::ErrorDetailsList::errLanguage

Definition at line 50 of file ErrorDetailManager.h.

◆ theList

ErrorDetails Ssl::ErrorDetailsList::theList

Definition at line 52 of file ErrorDetailManager.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors