Why is the SourceObject field always "GlobalLogger" when I log a Completion or Exception?
Due to the current implementation of the Error System, there is no easy way to fill correctly(and transparently) the SourceObject field in the ErrorTraces. If you really need that field set, you can always do: err.getErrorTraceHelper()->setSourceObject("anystring"); Given that err.setSourceObject("anystring"); Then you should be able to call the log method of your exception or completion and have the correct SourceObject. -- NicolasBarriga - 04 Apr 2007 |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|