MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / stuffByException

Method stuffByException

src/common/fb_exception.cpp:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void status_exception::stuffByException(StaticStatusVector& status) const throw()
147{
148 try
149 {
150 status.assign(m_status_vector, fb_utils::statusLength(m_status_vector) + 1);
151 }
152 catch (const BadAlloc&)
153 {
154 processUnexpectedException(status.makeEmergencyStatus());
155 }
156}
157
158// ********************************* BadAlloc ****************************
159

Callers

nothing calls this directly

Calls 4

statusLengthFunction · 0.85
statusBadAllocFunction · 0.85
makeEmergencyStatusMethod · 0.80
assignMethod · 0.45

Tested by

no test coverage detected