summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav/webdavcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontent.cxx')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 101aa1793f7f..5b193ea25bb4 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -197,7 +197,6 @@ Content::Content(
ContentProvider* pProvider,
const uno::Reference< ucb::XContentIdentifier >& Identifier,
rtl::Reference< DAVSessionFactory > const & rSessionFactory )
- throw ( ucb::ContentCreationException )
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_eResourceType( UNKNOWN ),
m_pProvider( pProvider ),
@@ -230,7 +229,6 @@ Content::Content(
const uno::Reference< ucb::XContentIdentifier >& Identifier,
rtl::Reference< DAVSessionFactory > const & rSessionFactory,
bool isCollection )
- throw ( ucb::ContentCreationException )
: ContentImplHelper( rxContext, pProvider, Identifier ),
m_eResourceType( UNKNOWN ),
m_pProvider( pProvider ),
@@ -282,7 +280,6 @@ void SAL_CALL Content::release()
// virtual
uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
- throw ( uno::RuntimeException, std::exception )
{
// Note: isFolder may require network activities! So call it only
// if it is really necessary!!!
@@ -335,7 +332,6 @@ XTYPEPROVIDER_COMMON_IMPL( Content );
// virtual
uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
- throw( uno::RuntimeException, std::exception )
{
bool bFolder = false;
try
@@ -428,7 +424,6 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
// virtual
OUString SAL_CALL Content::getImplementationName()
- throw( uno::RuntimeException )
{
return OUString( "com.sun.star.comp.ucb.WebDAVContent" );
}
@@ -436,7 +431,6 @@ OUString SAL_CALL Content::getImplementationName()
// virtual
uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
- throw( uno::RuntimeException )
{
uno::Sequence<OUString> aSNS { WEBDAV_CONTENT_SERVICE_NAME };
return aSNS;
@@ -448,7 +442,6 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
// virtual
OUString SAL_CALL Content::getContentType()
- throw( uno::RuntimeException )
{
bool bFolder = false;
try
@@ -479,9 +472,6 @@ uno::Any SAL_CALL Content::execute(
const ucb::Command& aCommand,
sal_Int32 /*CommandId*/,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception,
- ucb::CommandAbortedException,
- uno::RuntimeException )
{
SAL_INFO("ucb.ucp.webdav", ">>>>> Content::execute: start: command: " << aCommand.Name
<< ", env: " << (Environment.is() ? "present" : "missing") );
@@ -804,7 +794,6 @@ uno::Any SAL_CALL Content::execute(
// virtual
void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ )
- throw( uno::RuntimeException )
{
try
{
@@ -831,10 +820,6 @@ void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ )
void Content::addProperty( const css::ucb::PropertyCommandArgument &aCmdArg,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
-throw( beans::PropertyExistException,
- beans::IllegalTypeException,
- lang::IllegalArgumentException,
- uno::RuntimeException )
{
// if ( m_bTransient )
// @@@ ???
@@ -966,9 +951,6 @@ throw( beans::PropertyExistException,
void Content::removeProperty( const rtl::OUString& Name,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
-throw( beans::UnknownPropertyException,
- beans::NotRemoveableException,
- uno::RuntimeException )
{
#if 0
// @@@ REMOVABLE at the moment not properly set in the PropSetInfo
@@ -1074,10 +1056,6 @@ throw( beans::UnknownPropertyException,
void SAL_CALL Content::addProperty( const rtl::OUString& Name,
sal_Int16 Attributes,
const uno::Any& DefaultValue )
- throw( beans::PropertyExistException,
- beans::IllegalTypeException,
- lang::IllegalArgumentException,
- uno::RuntimeException )
{
beans::Property aProperty;
aProperty.Name = Name;
@@ -1091,9 +1069,6 @@ void SAL_CALL Content::addProperty( const rtl::OUString& Name,
// virtual
void SAL_CALL Content::removeProperty( const rtl::OUString& Name )
- throw( beans::UnknownPropertyException,
- beans::NotRemoveableException,
- uno::RuntimeException )
{
removeProperty( Name,
uno::Reference< ucb::XCommandEnvironment >() );
@@ -1106,7 +1081,6 @@ void SAL_CALL Content::removeProperty( const rtl::OUString& Name )
// virtual
uno::Sequence< ucb::ContentInfo > SAL_CALL
Content::queryCreatableContentsInfo()
- throw( uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -1140,7 +1114,6 @@ Content::queryCreatableContentsInfo()
// virtual
uno::Reference< ucb::XContent > SAL_CALL
Content::createNewContent( const ucb::ContentInfo& Info )
- throw( uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -1311,7 +1284,6 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
uno::Reference< sdbc::XRow > Content::getPropertyValues(
const uno::Sequence< beans::Property >& rProperties,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw ( uno::Exception )
{
std::unique_ptr< ContentProperties > xProps;
std::unique_ptr< ContentProperties > xCachedProps;
@@ -1651,7 +1623,6 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
uno::Sequence< uno::Any > Content::setPropertyValues(
const uno::Sequence< beans::PropertyValue >& rValues,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw ( uno::Exception )
{
uno::Reference< ucb::XContentIdentifier > xIdentifier;
rtl::Reference< ContentProvider > xProvider;
@@ -2061,7 +2032,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
uno::Any Content::open(
const ucb::OpenCommandArgument2 & rArg,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
{
uno::Any aRet;
@@ -2226,7 +2196,6 @@ uno::Any Content::open(
void Content::post(
const ucb::PostCommandArgument2 & rArg,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
{
uno::Reference< io::XActiveDataSink > xSink( rArg.Sink, uno::UNO_QUERY );
if ( xSink.is() )
@@ -2362,7 +2331,6 @@ void Content::insert(
const uno::Reference< io::XInputStream > & xInputStream,
bool bReplaceExisting,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
{
bool bTransient, bCollection;
OUString aEscapedTitle;
@@ -2605,7 +2573,6 @@ void Content::insert(
void Content::transfer(
const ucb::TransferInfo & rArgs,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
{
uno::Reference< uno::XComponentContext > xContext;
uno::Reference< ucb::XContentIdentifier > xIdentifier;
@@ -2844,7 +2811,6 @@ void Content::transfer(
void Content::destroy( bool bDeletePhysical )
- throw( uno::Exception )
{
// @@@ take care about bDeletePhysical -> trashcan support
@@ -2898,7 +2864,6 @@ bool Content::supportsExclusiveWriteLock(
void Content::lock(
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
{
try
{
@@ -2938,7 +2903,6 @@ void Content::lock(
void Content::unlock(
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception )
{
try
{
@@ -3034,7 +2998,6 @@ bool Content::exchangeIdentity(
bool Content::isFolder(
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw( uno::Exception )
{
{
osl::MutexGuard aGuard( m_aMutex );
@@ -3258,7 +3221,6 @@ void Content::cancelCommandExecution(
const DAVException & e,
const uno::Reference< ucb::XCommandEnvironment > & xEnv,
bool bWrite /* = false */ )
- throw ( uno::Exception )
{
ucbhelper::cancelCommandExecution( MapDAVException( e, bWrite ), xEnv );
// Unreachable
@@ -3299,7 +3261,6 @@ Content::ResourceType Content::getResourceType(
const uno::Reference< ucb::XCommandEnvironment >& xEnv,
const std::unique_ptr< DAVResourceAccess > & rResAccess,
bool * networkAccessAllowed )
- throw ( uno::Exception )
{
{
osl::MutexGuard g(m_aMutex);
@@ -3380,7 +3341,6 @@ Content::ResourceType Content::getResourceType(
Content::ResourceType Content::getResourceType(
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw ( uno::Exception )
{
std::unique_ptr< DAVResourceAccess > xResAccess;
{