Trivial changes. Improved an exception message after review comments and fixed a copyright year.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2015-06-15 13:37:14 +00:00
parent 48702f9045
commit 8932133146
2 changed files with 3 additions and 2 deletions

View File

@@ -63,7 +63,8 @@ public class ClassificationLevelValidation
} }
else if (levelId.equals(ClassificationLevelManager.UNCLASSIFIED_ID)) else if (levelId.equals(ClassificationLevelManager.UNCLASSIFIED_ID))
{ {
throw new IllegalConfiguration("Unclassified ID abbreviation is reserved for system use."); throw new IllegalConfiguration("The Unclassified ID abbreviation '" +
ClassificationLevelManager.UNCLASSIFIED_ID + "' is reserved for system use.");
} }
else if (levelId.length() > ABBREVIATION_LENGTH_LIMIT) else if (levelId.length() > ABBREVIATION_LENGTH_LIMIT)
{ {

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2014 Alfresco Software Limited. * Copyright (C) 2005-2015 Alfresco Software Limited.
* *
* This file is part of Alfresco * This file is part of Alfresco
* *