mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged RETURN-OF-THE-API (5.2.0) to 5.2.N (5.2.1)
128603 jvonka: V1 REST API: minor - fix typo spotted by GC. In fact, introduced in r232 (05/04/05) !! :-) REPO-408 (and related) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,26 +23,26 @@
|
|||||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* #L%
|
* #L%
|
||||||
*/
|
*/
|
||||||
package org.alfresco.service.cmr.version;
|
package org.alfresco.service.cmr.version;
|
||||||
|
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Version does not exist exception class.
|
* Version does not exist exception class.
|
||||||
*
|
*
|
||||||
* @author Roy Wetherall
|
* @author Roy Wetherall
|
||||||
*/
|
*/
|
||||||
public class VersionDoesNotExistException extends VersionServiceException
|
public class VersionDoesNotExistException extends VersionServiceException
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 3258133548417233463L;
|
private static final long serialVersionUID = 3258133548417233463L;
|
||||||
private static final String ERROR_MESSAGE = "The version with label {0} does not exisit in the version store.";
|
private static final String ERROR_MESSAGE = "The version with label {0} does not exist in the version store.";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
public VersionDoesNotExistException(String versionLabel)
|
public VersionDoesNotExistException(String versionLabel)
|
||||||
{
|
{
|
||||||
super(MessageFormat.format(ERROR_MESSAGE, new Object[]{versionLabel}));
|
super(MessageFormat.format(ERROR_MESSAGE, new Object[]{versionLabel}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user