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

Method raise

src/jrd/extds/ExtDS.cpp:828–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826
827
828void Connection::raise(const FbStatusVector* status, thread_db* /*tdbb*/, const char* sWhere)
829{
830 if (!getWrapErrors(status->getErrors()))
831 {
832 ERR_post(Arg::StatusVector(status));
833 }
834
835 string rem_err;
836 m_provider.getRemoteError(status, rem_err);
837
838 // Execute statement error at @1 :\n@2Data source : @3
839 ERR_post(Arg::Gds(isc_eds_connection) << Arg::Str(sWhere) <<
840 Arg::Str(rem_err) <<
841 Arg::Str(getDataSourceName()));
842}
843
844
845bool Connection::getWrapErrors(const ISC_STATUS* status)

Callers 15

storeBlobMethod · 0.45
ManagerMethod · 0.45
lookupRecordMethod · 0.45
checkStatusFunction · 0.45
raiseIOErrorFunction · 0.45
getMethod · 0.45
raiseErrorFunction · 0.45
validatePasswordFunction · 0.45
openMethod · 0.45
createMethod · 0.45
readMethod · 0.45
writeMethod · 0.45

Calls 10

GdsClass · 0.85
StrClass · 0.85
getWrapErrorsMethod · 0.80
getDataSourceNameMethod · 0.80
ERR_postFunction · 0.50
StatusVectorClass · 0.50
getErrorsMethod · 0.45
getRemoteErrorMethod · 0.45
initMethod · 0.45
substrMethod · 0.45

Tested by

no test coverage detected