]>
jfr.im git - irc/gameservirc.git/blob - gameserv-2.0/libgameservgldl/src/DataLayer/DataLayerExceptions.cpp
1 #include <GameServ/DataLayer/DataLayerExceptions.h>
2 #include <GameServ/GameServException.h>
3 using GameServ::DataLayer::Exceptions::DataLayerException
;
4 using GameServ::DataLayer::Exceptions::ResourceException
;
5 using GameServ::Exceptions::GameServException
;
7 DataLayerException::DataLayerException(const string
&ErrorMsg
, const char *pFilename
, int SourceLine
)
8 : GameServException(ErrorMsg
, pFilename
, SourceLine
)
11 DataLayerException::DataLayerException(const string
&ErrorMsg
)
12 : GameServException(ErrorMsg
)
15 DataLayerException::DataLayerException(void)
16 : GameServException("Unidentified Data Layer Exception occurred")
20 ResourceException::ResourceException(const string
&ErrorMsg
, const char *pFilename
, int SourceLine
)
21 : DataLayerException(ErrorMsg
, pFilename
, SourceLine
)
24 ResourceException::ResourceException(const string
&ErrorMsg
)
25 : DataLayerException(ErrorMsg
)
28 ResourceException::ResourceException(void)
29 : DataLayerException("Failure to initialize, access, free a data resource, database, or file in the data layer library")