#include <DF_Document.hxx>
#include <stdlib.h>
-UNEXPECT_CATCH(SBSalomeException, SALOME::SALOME_Exception);
-UNEXPECT_CATCH(SBLockProtection, SALOMEDS::StudyBuilder::LockProtection);
+UNEXPECT_CATCH(SBSalomeException, SALOME::SALOME_Exception)
+UNEXPECT_CATCH(SBLockProtection, SALOMEDS::StudyBuilder::LockProtection)
//============================================================================
/*! Function : constructor
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::LoadWith(SALOMEDS::SComponent_ptr anSCO,
- SALOMEDS::Driver_ptr aDriver) throw(SALOME::SALOME_Exception)
+ SALOMEDS::Driver_ptr aDriver)
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBSalomeException);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::Load(SALOMEDS::SObject_ptr sco)
+void SALOMEDS_StudyBuilder_i::Load(SALOMEDS::SObject_ptr /*sco*/)
{
MESSAGE ( "This function is not yet implemented");
}
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::CommitCommand() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::CommitCommand()
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::Undo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Undo()
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::Redo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Redo()
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::CheckLocked() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::CheckLocked()
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetName(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);