mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 21:23:04 +01:00
Add comment for a couple ugly aspects of exception handling (they need to be fixed, eventually)
This commit is contained in:
parent
9b46748240
commit
e075d9f71a
@ -81,7 +81,15 @@ public:
|
|||||||
virtual const char* what() const throw()
|
virtual const char* what() const throw()
|
||||||
{ return "Firebird::status_exception"; }
|
{ return "Firebird::status_exception"; }
|
||||||
const ISC_STATUS* value() const { return m_status_vector; }
|
const ISC_STATUS* value() const { return m_status_vector; }
|
||||||
|
|
||||||
|
// Returns true if strings contained in status vector are located in magical
|
||||||
|
// permanent circular buffer. False means that exception object owns strings
|
||||||
|
// and is about to deallocate them in its destructor
|
||||||
bool strings_permanent() const { return m_strings_permanent; }
|
bool strings_permanent() const { return m_strings_permanent; }
|
||||||
|
|
||||||
|
// Returns true if exception class holds status vector for the error.
|
||||||
|
// Returns false when status vector is passed "by magic", probably
|
||||||
|
// somewhere in tdbb_status_vector
|
||||||
bool status_known() const { return m_status_known; }
|
bool status_known() const { return m_status_known; }
|
||||||
|
|
||||||
// Takes permanent strings
|
// Takes permanent strings
|
||||||
|
Loading…
Reference in New Issue
Block a user