Google Doc Integration: Fix system unit test failures

* Fixed spreadsheet download
  * Refactored use of DocService to improve reliability
  * Reuse security tokens 
  * Consolidate code as a result of above changes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2011-09-29 00:15:38 +00:00
parent acb0bbf7ee
commit 79508da9fc
6 changed files with 152 additions and 158 deletions

View File

@@ -18,11 +18,13 @@
*/
package org.alfresco.repo.googledocs;
import org.alfresco.error.AlfrescoRuntimeException;
/**
* Google docs service initialisation exception class.
*/
public class GoogleDocsServiceInitException extends Exception
public class GoogleDocsServiceInitException extends AlfrescoRuntimeException
{
/** Serial version UUID */
private static final long serialVersionUID = -2104024155137888545L;
@@ -43,12 +45,4 @@ public class GoogleDocsServiceInitException extends Exception
{
super(message, cause);
}
/**
* @param cause causing exception
*/
public GoogleDocsServiceInitException(Throwable cause)
{
super(cause);
}
}