MCPcopy Create free account
hub / github.com/Clarionos/clarion / rethrow

Method rethrow

libraries/fc/src/exception.cpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 void NO_RETURN exception_factory::rethrow( const exception& e )const
248 {
249 auto itr = _registered_exceptions.find( e.code() );
250 if( itr != _registered_exceptions.end() )
251 itr->second->rethrow( e );
252 throw e;
253 }
254 /**
255 * Rethrows the exception restoring the proper type based upon
256 * the error code. This is used to propagate exception types

Callers 1

Calls 3

codeMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected