When catching Java exceptions, we usually want to print the stack trace. Sometimes we also want the detailed message to be used in business related logic. e.g. sending the detailed exception message by email. So we need to convert the result of e.printStackTrace() to string: private static String getStackTrace(Exception e) { StringWriter stringWriter= ...
Sometimes you may want to specify the user name for the r_modifier of the document (or specify a value for the attribute r_modify_date). These two attributes are updated automatically with the save API. As it turns out, any time the save API is called against an object, the r_modify_date and r_modifier ...
When executing the API command - " audit,c,l,event_name,,,,,,,'event_description','event_attributes' ", I got the below error message: [DM_AUDITTRAIL_E_AUDIT_DOCBASE_WIDE_NOT_ALLOW_EXTRA]error: "You are not allowed to specify extra values, 'T', when docbase-wide event is audited." In the powerlink site of EMC, it is mentioned that 'Audit api is not supported in D6. You need to use either ...