00001 /* ${copyright}$ */ 00002 /* $Id: EppException.H 152 2006-02-01 17:55:15Z cesar $ */ 00007 #ifndef __EPP_EXCEPTION_H__ 00008 #define __EPP_EXCEPTION_H__ 00009 00010 #include "libepp_nicbr.H" 00011 00012 #include "GeneralException.H" 00013 00014 LIBEPP_NICBR_NS_BEGIN 00015 00017 class EppException : public GeneralException 00018 { 00019 public: 00021 enum ExceptionCode { 00022 INVALID_CLTRID = 2000 00023 }; 00024 00026 00030 EppException(const int code, const string &msg) : 00031 GeneralException(code, msg) {}; 00032 00033 00034 }; 00035 00036 LIBEPP_NICBR_NS_END 00037 #endif //__EPP_EXCEPTION_H__