Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

HandleWorkerThreadException

procedure HandleWorkerThreadException(const aThread: string; const aLog: tWorkerThreadLogEvent = nil);
For the raw thread procedures of a component that opted in: call only in an except block. An ordinary exception goes to aLog when given and is otherwise dropped - never to stderr. A process-state exception goes to the registered coordinator; without one, or when the coordinator does not take it over, it ends the process. Never raises.