mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4106 (ALF-4103): AuditService REST API
- Full start/stop/status using WebScripts - AuditService API additions to support - .ftl to generate json response - Some javadoc and debug additions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -199,11 +199,12 @@ public class AuditApplication
|
||||
{
|
||||
if (path == null || path.length() == 0)
|
||||
{
|
||||
throw new AuditModelException("Empty or null audit path");
|
||||
throw new AuditModelException("Empty or null audit path: " + path);
|
||||
}
|
||||
else if (!path.matches(AUDIT_PATH_REGEX))
|
||||
{
|
||||
throw new AuditModelException("An audit must match regular expression: " + AUDIT_PATH_REGEX);
|
||||
throw new AuditModelException(
|
||||
"Audit path '" + path + "' does not match regular expression: " + AUDIT_PATH_REGEX);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user