31 lines
679 B
C++
31 lines
679 B
C++
|
|
#pragma once
|
|
|
|
namespace AdoLib
|
|
{
|
|
class CAdoException
|
|
{
|
|
public:
|
|
CAdoException();
|
|
CAdoException(std::string message, int errorCode, std::string description);
|
|
CAdoException(std::string message, int errorCode, std::string description, std::string source, std::string location);
|
|
~CAdoException();
|
|
|
|
std::string getMessage();
|
|
int getErrorCode();
|
|
std::string getDescription();
|
|
std::string getSource();
|
|
std::string getLocation();
|
|
std::string toString();
|
|
|
|
protected:
|
|
std::string m_message;
|
|
int m_warnCode;
|
|
std::string m_description;
|
|
std::string m_source;
|
|
|
|
// Exception 발생한 위치 표시하기 위해 추가
|
|
std::string m_Location;
|
|
};
|
|
};
|