try {
UriHandler rUh = UriHandler.getUriHandler( resourcePath );
if( VERSIONCONTROL_EXCLUDEPATH != null && VERSIONCONTROL_EXCLUDEPATH.length() > 0 ) {
UriHandler exUh = UriHandler.getUriHandler( VERSIONCONTROL_EXCLUDEPATH );
if( exUh.isAncestorOf(rUh) )
throw new ForbiddenException(
resourcePath,
new Exception("The resource path has been excluded from version-control") );
}
VersioningHelper vh = VersioningHelper.getVersioningHelper(