/// <summary> /// Gets infolog content /// </summary> /// <returns>infolog string</returns> public static str getErrorStr(container _cont) { SysInfologEnumerator enumerator; SysInfologMessageStruct myStruct; Exception exception; str error; enumerator = SysInfologEnumerator::newData(_cont); while (enumerator.moveNext()) { myStruct = new SysInfologMessageStruct(enumerator.currentMessage()); exception = enumerator.currentException(); error = strfmt('%1 %2', error, myStruct.message()); } return error; }
No comments:
Post a Comment