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

#include <CommonExceptions.h>

Inheritance diagram for FinTP::MqException:

Public Member Functions

 MqException (const string &message, int reasonCode, EventType::EventTypeEnum eventType=EventType::Error, NameValueCollection *additionalInfo=NULL)
 
 ~MqException () throw ()
 
int getReasonCode () const
 
- Public Member Functions inherited from FinTP::AppException
 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)
 

Private Attributes

int m_ReasonCode
 

Additional Inherited Members

- Protected Member Functions inherited from FinTP::AppException
void setBasicExceptionInfo ()
 
void addBasicExceptionInfo ()
 
- Protected Attributes inherited from FinTP::AppException
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 inherited from FinTP::AppException
static string m_CrtMachineName = "localhost"
 AppException implementation. More...
 

Constructor & Destructor Documentation

MqException::MqException ( const string &  message,
int  reasonCode,
EventType::EventTypeEnum  eventType = EventType::Error,
NameValueCollection *  additionalInfo = NULL 
)
FinTP::MqException::~MqException ( ) throw ()
inline

Member Function Documentation

int FinTP::MqException::getReasonCode ( ) const
inline

Member Data Documentation

int FinTP::MqException::m_ReasonCode
private

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