// Copyright: All Rights Reserved // Author: egametang@gmail.com (tanghai) #ifndef ORM_EXCEPTION_H #define ORM_EXCEPTION_H #include "Base/Exception.h" namespace Egametang { struct ConnectionException: virtual Exception { }; typedef boost::error_info ConnectionErrNO; typedef boost::error_info ConnectionErrStr; struct SqlNoDataException: virtual Exception { }; typedef boost::error_info SqlNoDataErrNO; typedef boost::error_info SqlNoDataErrStr; struct MessageNoFeildIsSetException: virtual Exception { }; typedef boost::error_info MessageNoFeildIsSetErrNO; typedef boost::error_info MessageNoFeildIsSetErrStr; struct MessageHasNoSuchFeildException: virtual Exception { }; typedef boost::error_info MessageHasNoSuchFeildErrNO; typedef boost::error_info MessageHasNoSuchFeildErrStr; } #endif // ORM_EXCEPTION_H