summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2001-10-02 06:34:45 +0000
committerAndreas Bille <abi@openoffice.org>2001-10-02 06:34:45 +0000
commit72bedaffed49bbea92789633a1e765f1ee6b9aa6 (patch)
tree9e3bfd092257b65f769e6c1220ba479f66148e67 /ucb
parenta9f5987a2aca57b00eaaeae5e5299a8286ee9f44 (diff)
#90677#
Delivering the correct service
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/filtask.cxx8
-rw-r--r--ucb/source/ucp/file/filtask.hxx10
2 files changed, 9 insertions, 9 deletions
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index f0a4627521df..569ccd2ddd2a 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filtask.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: abi $ $Date: 2001-09-06 08:43:14 $
+ * last change: $Author: abi $ $Date: 2001-10-02 07:34:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,13 +96,13 @@ void SAL_CALL
TaskManager::startTask(
sal_Int32 CommandId,
const uno::Reference< XCommandEnvironment >& xCommandEnv )
- throw( CommandFailedException )
+ throw( DuplicateCommandIdentifierException )
{
vos::OGuard aGuard( m_aMutex );
TaskMap::iterator it = m_aTaskMap.find( CommandId );
if( it != m_aTaskMap.end() )
{
- throw CommandFailedException();
+ throw DuplicateCommandIdentifierException();
}
m_aTaskMap[ CommandId ] = TaskHandling( xCommandEnv );
}
diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx
index cb708c58145a..2d7112188e17 100644
--- a/ucb/source/ucp/file/filtask.hxx
+++ b/ucb/source/ucp/file/filtask.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filtask.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: abi $ $Date: 2001-09-06 08:43:14 $
+ * last change: $Author: abi $ $Date: 2001-10-02 07:34:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,8 +72,8 @@
#ifndef _VOS_MUTEX_HXX_
#include <vos/mutex.hxx>
#endif
-#ifndef _COM_SUN_STAR_UCB_COMMANDFAILEDEXCEPTION_HPP_
-#include <com/sun/star/ucb/CommandFailedException.hpp>
+#ifndef _COM_SUN_STAR_UCB_DUPLICATECOMMANDIDENTIFIEREXCEPTION_HPP_
+#include <com/sun/star/ucb/DuplicateCommandIdentifierException.hpp>
#endif
#ifndef _COM_SUN_STAR_UCB_XCOMMANDENVIRONMENT_HPP_
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
@@ -205,7 +205,7 @@ namespace fileaccess
void SAL_CALL startTask(
sal_Int32 CommandId,
const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment >& xCommandEnv )
- throw( com::sun::star::ucb::CommandFailedException );
+ throw( com::sun::star::ucb::DuplicateCommandIdentifierException );
sal_Int32 SAL_CALL getCommandId( void );
void SAL_CALL abort( sal_Int32 CommandId );