392{
393#ifdef __DCL_DEBUG
397 );
399#endif
400
405
406#ifdef __DCL_DEBUG
408 filename = filename.left(filename.lastIndexOf(L'.')) + L".dump.txt";
409 try {
410
411 __pDebugFileOut =
412 new XFileWriter(filename, false, new UTF8Encoder());
413 }
414 catch(IOException* e) {
416 L"Warning! dump file create fail. [%ls]: [%ls]\n",
417 filename.data(),
419 );
421 }
422#endif
423
424#ifdef __DCL_DEBUG
425 ReportErrorWriter output(
427 hErrorReport,
428 __pDebugFileOut
429 );
430
431 Writer* pOldOutput =
432 DCLDebugSetThreadReport(
434 &output
435 );
436
437#else
438 ReportErrorWriter output(
440 hErrorReport,
442 );
443#endif
444
446 try {
450 }
451 catch (Exception* _e) {
455 }
456
457#ifdef __DCL_DEBUG
458 DCLDebugSetThreadReport(
460 pOldOutput
461 );
462
463 if (!
result && __pDebugFileOut) {
464 delete __pDebugFileOut;
465 __pDebugFileOut =
NULL;
466 }
467#endif
468
470}
#define __DCL_ASSERT(expr)
virtual void onInitialize() __DCL_THROWS1(Exception *)
const wchar_t * __configPath
const wchar_t * __tempPath
virtual String toString() const
const wchar_t * pszConfigPath
const DCL_HTTP_SERVER_API * pSAPI
const wchar_t * pszModuleName
const wchar_t * pszTempPath