Line 65... |
Line 65... |
65 |
TXceptComm (const std::string& message, const std::string& file, int iLine, bool bFatal = false);
|
65 |
TXceptComm (const std::string& message, const std::string& file, int iLine, bool bFatal = false);
|
66 |
// ctr ohne Uebergabe msg
|
66 |
// ctr ohne Uebergabe msg
|
67 |
TXceptComm (const std::string& file, int iLine, bool bFatal = false);
|
67 |
TXceptComm (const std::string& file, int iLine, bool bFatal = false);
|
68 |
};
|
68 |
};
|
69 |
|
69 |
|
- |
|
70 |
class TXceptFatal : public TXceptBase
|
- |
|
71 |
{
|
- |
|
72 |
public:
|
- |
|
73 |
// ctr mit Uebergabe msg
|
- |
|
74 |
TXceptFatal (const std::string& message, const std::string& file, int iLine, bool bFatal = true);
|
- |
|
75 |
// ctr ohne Uebergabe msg
|
- |
|
76 |
TXceptFatal (const std::string& file, int iLine, bool bFatal = true);
|
- |
|
77 |
};
|
- |
|
78 |
|
70 |
#define XCEPTNETWORK(msg) throw TXceptNetwork (msg, __FILE__, __LINE__, false)
|
79 |
#define XCEPTNETWORK(msg) throw TXceptNetwork (msg, __FILE__, __LINE__, false)
|
71 |
#define EXCEPTNETWORK() throw TXceptNetwork (__FILE__, __LINE__, false)
|
80 |
#define EXCEPTNETWORK() throw TXceptNetwork (__FILE__, __LINE__, false)
|
72 |
#define EXCEPTNETFATAL() throw TXceptNetwork (__FILE__, __LINE__, true)
|
81 |
#define EXCEPTNETFATAL() throw TXceptNetwork (__FILE__, __LINE__, true)
|
73 |
|
82 |
|
74 |
#define XCEPTCOMM(msg) throw TXceptComm (msg, __FILE__, __LINE__, false)
|
83 |
#define XCEPTCOMM(msg) throw TXceptComm (msg, __FILE__, __LINE__, false)
|
75 |
#define EXCEPTCOMM() throw TXceptComm (__FILE__, __LINE__, false)
|
84 |
#define EXCEPTCOMM() throw TXceptComm (__FILE__, __LINE__, false)
|
76 |
#define EXCEPTCOMMFATAL() throw TXceptComm (__FILE__, __LINE__, true)
|
85 |
#define EXCEPTCOMMFATAL() throw TXceptComm (__FILE__, __LINE__, true)
|
77 |
|
86 |
|
- |
|
87 |
#define EXCEPTFATALMSG(msg) throw TXceptFatal (msg, __FILE__, __LINE__, true)
|
- |
|
88 |
#define EXCEPTFATAL() throw TXceptFatal (__FILE__, __LINE__, true)
|
- |
|
89 |
|
78 |
#endif
|
90 |
#endif
|