Files
Sun1602/Server/ShopServer/Uitl/AdoException.h
T
2022-10-26 12:25:11 +08:00

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;
};
};