fintp_log
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FinTP::AppException Class Reference

#include <AppExceptions.h>

Inheritance diagram for FinTP::AppException:

Public Member Functions

 AppException (const string &message, const EventType::EventTypeEnum eventType=EventType::Error, const NameValueCollection *additionalInfo=NULL)
 
 AppException (const string &message, const std::exception &innerException, const EventType::EventTypeEnum eventType=EventType::Error, const NameValueCollection *additionalInfo=NULL)
 
 AppException (const AppException &)
 
 AppException ()
 
virtual ~AppException () throw ()
 destructor (virtual) More...
 
const char * what () const throw ()
 
EventType getEventType (void) const
 
void setEventType (const EventType::EventTypeEnum eventType)
 
EventSeverity getSeverity (void) const
 
void setSeverity (const EventSeverity::EventSeverityEnum eventSeverity)
 
string getMessage (void) const
 
void setMessage (const string &message)
 
string getException (void) const
 
void setException (const std::exception &innerException)
 
void setException (const string &innerException)
 
string getPid () const
 
void setPid (const string &value)
 
string getCreatedDateTime () const
 
void setCreatedDateTime (const string &datetime)
 
string getCorrelationId () const
 
void setCorrelationId (const string &correlid)
 
string getMachineName () const
 
void setMachineName (const string &machine)
 
const NameValueCollection * getAdditionalInfo (void) const
 
string getAdditionalInfo (const string &name) const
 
void setAdditionalInfo (const NameValueCollection *additionalInfo)
 
void setAdditionalInfo (const string &name, const string &value)
 
void addAdditionalInfo (const string &name, const string &value)
 
void InitDefaultValues ()
 
AppExceptionoperator= (const AppException &ex)
 

Protected Member Functions

void setBasicExceptionInfo ()
 
void addBasicExceptionInfo ()
 

Protected Attributes

string m_MachineName
 
string m_CreatedDateTime
 
string m_Pid
 
EventType m_EventType
 
EventSeverity m_EventSeverity
 
string m_Message
 
string m_InnerException
 
NameValueCollection * m_AdditionalInfo
 
string m_CorrelationId
 

Static Protected Attributes

static string m_CrtMachineName = "localhost"
 AppException implementation. More...
 

Friends

ostream & operator<< (ostream &os, const FinTP::AppException &except)
 

Constructor & Destructor Documentation

AppException::AppException ( const string &  message,
const EventType::EventTypeEnum  eventType = EventType::Error,
const NameValueCollection *  additionalInfo = NULL 
)
explicit
AppException::AppException ( const string &  message,
const std::exception &  innerException,
const EventType::EventTypeEnum  eventType = EventType::Error,
const NameValueCollection *  additionalInfo = NULL 
)
AppException::AppException ( const AppException ex)
AppException::AppException ( )
AppException::~AppException ( ) throw ()
virtual

destructor (virtual)

Member Function Documentation

void AppException::addAdditionalInfo ( const string &  name,
const string &  value 
)
void FinTP::AppException::addBasicExceptionInfo ( )
protected
const NameValueCollection * AppException::getAdditionalInfo ( void  ) const
string FinTP::AppException::getAdditionalInfo ( const string &  name) const
inline
string FinTP::AppException::getCorrelationId ( ) const
inline
string FinTP::AppException::getCreatedDateTime ( ) const
inline
EventType FinTP::AppException::getEventType ( void  ) const
inline
string FinTP::AppException::getException ( void  ) const
inline
string FinTP::AppException::getMachineName ( ) const
inline
string FinTP::AppException::getMessage ( void  ) const
inline
string FinTP::AppException::getPid ( ) const
inline
EventSeverity FinTP::AppException::getSeverity ( void  ) const
inline
void AppException::InitDefaultValues ( )
AppException & AppException::operator= ( const AppException ex)
void AppException::setAdditionalInfo ( const NameValueCollection *  additionalInfo)
void AppException::setAdditionalInfo ( const string &  name,
const string &  value 
)
void AppException::setBasicExceptionInfo ( )
protected
void FinTP::AppException::setCorrelationId ( const string &  correlid)
inline
void FinTP::AppException::setCreatedDateTime ( const string &  datetime)
inline
void FinTP::AppException::setEventType ( const EventType::EventTypeEnum  eventType)
inline
void AppException::setException ( const std::exception &  innerException)
void FinTP::AppException::setException ( const string &  innerException)
inline
void FinTP::AppException::setMachineName ( const string &  machine)
inline
void FinTP::AppException::setMessage ( const string &  message)
inline
void FinTP::AppException::setPid ( const string &  value)
inline
void FinTP::AppException::setSeverity ( const EventSeverity::EventSeverityEnum  eventSeverity)
inline
const char* FinTP::AppException::what ( ) const throw ()
inline

Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const FinTP::AppException except 
)
friend

Member Data Documentation

NameValueCollection* FinTP::AppException::m_AdditionalInfo
protected
string FinTP::AppException::m_CorrelationId
protected
string FinTP::AppException::m_CreatedDateTime
protected
string AppException::m_CrtMachineName = "localhost"
staticprotected

AppException implementation.

EventSeverity FinTP::AppException::m_EventSeverity
protected
EventType FinTP::AppException::m_EventType
protected
string FinTP::AppException::m_InnerException
protected
string FinTP::AppException::m_MachineName
protected
string FinTP::AppException::m_Message
protected
string FinTP::AppException::m_Pid
protected

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