throw new FailedToUpdateDocumentException("Insufficient Access: no edit access, cannot write.");
}
documentImpl.setPermissionsEnabled(false);
documentImpl.setConstraintsEnabled(false);
}
documentImpl.marshalling();
// marshal page to disk
String fileName = path;
if (!fileName.endsWith(this.documentType))
{
fileName = path + this.documentType;