|
@@ -1194,7 +1194,7 @@ public:
|
|
virtual void getExternalResultRaw(unsigned & tlen, void * & tgt, const char * wuid, const char * stepname, unsigned sequence, IXmlToRowTransformer * xmlTransformer, ICsvToRowTransformer * csvTransformer) { throwUnexpected(); }
|
|
virtual void getExternalResultRaw(unsigned & tlen, void * & tgt, const char * wuid, const char * stepname, unsigned sequence, IXmlToRowTransformer * xmlTransformer, ICsvToRowTransformer * csvTransformer) { throwUnexpected(); }
|
|
|
|
|
|
virtual char * getExpandLogicalName(const char * logicalName) { throwUnexpected(); }
|
|
virtual char * getExpandLogicalName(const char * logicalName) { throwUnexpected(); }
|
|
- virtual void addWuException(const char * text, unsigned code, unsigned severity) { throwUnexpected(); }
|
|
|
|
|
|
+ virtual void addWuException(const char * text, unsigned code, unsigned severity, const char * source) { throwUnexpected(); }
|
|
virtual void addWuAssertFailure(unsigned code, const char * text, const char * filename, unsigned lineno, unsigned column, bool isAbort) { throwUnexpected(); }
|
|
virtual void addWuAssertFailure(unsigned code, const char * text, const char * filename, unsigned lineno, unsigned column, bool isAbort) { throwUnexpected(); }
|
|
virtual IUserDescriptor *queryUserDescriptor() { throwUnexpected(); }
|
|
virtual IUserDescriptor *queryUserDescriptor() { throwUnexpected(); }
|
|
|
|
|
|
@@ -2804,7 +2804,7 @@ public:
|
|
UNIMPLEMENTED;
|
|
UNIMPLEMENTED;
|
|
}
|
|
}
|
|
|
|
|
|
- virtual void addWuException(const char * text, unsigned code, unsigned _severity)
|
|
|
|
|
|
+ virtual void addWuException(const char * text, unsigned code, unsigned _severity, const char * source)
|
|
{
|
|
{
|
|
WUExceptionSeverity severity = (WUExceptionSeverity) _severity;
|
|
WUExceptionSeverity severity = (WUExceptionSeverity) _severity;
|
|
CTXLOG("%s", text);
|
|
CTXLOG("%s", text);
|
|
@@ -2813,7 +2813,7 @@ public:
|
|
if (workUnit)
|
|
if (workUnit)
|
|
{
|
|
{
|
|
WorkunitUpdate wu(&workUnit->lock());
|
|
WorkunitUpdate wu(&workUnit->lock());
|
|
- addExceptionToWorkunit(wu, severity, "user", code, text, NULL, 0 ,0);
|
|
|
|
|
|
+ addExceptionToWorkunit(wu, severity, source, code, text, NULL, 0 ,0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
virtual void addWuAssertFailure(unsigned code, const char * text, const char * filename, unsigned lineno, unsigned column, bool isAbort)
|
|
virtual void addWuAssertFailure(unsigned code, const char * text, const char * filename, unsigned lineno, unsigned column, bool isAbort)
|
|
@@ -2880,7 +2880,7 @@ public:
|
|
virtual void returnPersistVersion(const char * logicalName, unsigned eclCRC, unsigned __int64 allCRC, bool isFile) { throwUnexpected(); }
|
|
virtual void returnPersistVersion(const char * logicalName, unsigned eclCRC, unsigned __int64 allCRC, bool isFile) { throwUnexpected(); }
|
|
virtual void fail(int code, const char *text)
|
|
virtual void fail(int code, const char *text)
|
|
{
|
|
{
|
|
- addWuException(text, code, 2);
|
|
|
|
|
|
+ addWuException(text, code, 2, "user");
|
|
}
|
|
}
|
|
|
|
|
|
virtual unsigned getWorkflowId() { return workflow->queryCurrentWfid(); }
|
|
virtual unsigned getWorkflowId() { return workflow->queryCurrentWfid(); }
|