/*!
This method performs the transfert of double array with the remote SenderDouble given. If it fails with this SenderDouble it tries with an another protocol (CORBA by default).
*/
-double *ReceiverFactory::getValue(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException)
+double *ReceiverFactory::getValue(SALOME::SenderDouble_ptr sender,long &size)noexcept
{
double *ret;
try{
/*!
This method performs the transfert of int array with the remote SenderInt given. If it fails with this SenderInt it tries with an another protocol (CORBA by default).
*/
-int *ReceiverFactory::getValue(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException)
+int *ReceiverFactory::getValue(SALOME::SenderInt_ptr sender,long &size)noexcept
{
int *ret;
try{
/*!
This method performs the transfert with the remote SenderDouble given. If it fails an exception is thrown.
*/
-double *ReceiverFactory::getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException)
+double *ReceiverFactory::getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)noexcept
{
SALOME::CorbaDoubleNCSender_ptr cncD_ptr;
SALOME::CorbaDoubleCSender_ptr cwcD_ptr;
/*!
This method performs the transfert with the remote SenderInt given. If it fails an exception is thrown.
*/
-int *ReceiverFactory::getValueOneShot(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException)
+int *ReceiverFactory::getValueOneShot(SALOME::SenderInt_ptr sender,long &size)noexcept
{
SALOME::CorbaLongNCSender_ptr cncL_ptr;
SALOME::CorbaLongCSender_ptr cwcL_ptr;
class COMMUNICATION_EXPORT ReceiverFactory
{
public:
- static double *getValue(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException);
- static int *getValue(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException);
+ static double *getValue(SALOME::SenderDouble_ptr sender,long &size)noexcept;
+ static int *getValue(SALOME::SenderInt_ptr sender,long &size)noexcept;
private:
- static double *getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)throw(MultiCommException);
- static int *getValueOneShot(SALOME::SenderInt_ptr sender,long &size)throw(MultiCommException);
+ static double *getValueOneShot(SALOME::SenderDouble_ptr sender,long &size)noexcept;
+ static int *getValueOneShot(SALOME::SenderInt_ptr sender,long &size)noexcept;
};
#endif
#define SALOME_CorbaLongSender SALOME_CorbaLongCSender_i
#endif
-SALOME::SenderDouble_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab)throw(MultiCommException){
+SALOME::SenderDouble_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab)noexcept {
switch(multiCommunicator.getProtocol())
{
case SALOME::CORBA_:
}
}
-SALOME::SenderInt_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab)throw(MultiCommException){
+SALOME::SenderInt_ptr SenderFactory::buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab)noexcept {
switch(multiCommunicator.getProtocol())
{
case SALOME::CORBA_:
class COMMUNICATION_EXPORT SenderFactory
{
public:
- static SALOME::SenderDouble_ptr buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab=false) throw(MultiCommException);
- static SALOME::SenderInt_ptr buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab=false) throw(MultiCommException);
+ static SALOME::SenderDouble_ptr buildSender(SALOMEMultiComm &multiCommunicator,const double *tab,long lgr,bool ownTab=false) noexcept;
+ static SALOME::SenderInt_ptr buildSender(SALOMEMultiComm &multiCommunicator,const int *tab,long lgr,bool ownTab=false) noexcept;
static SALOME::SenderDouble_ptr buildSender(SALOME::TypeOfCommunication NewType,SALOME_SenderDouble_i *src);
static SALOME::SenderInt_ptr buildSender(SALOME::TypeOfCommunication NewType,SALOME_SenderInt_i *src);
};
std::cerr << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
std::cerr << "Test of getFilesInfos()" << std::endl;
all_infos = file.getFilesInfos();
- for (int i = 0; i < all_infos->length(); i++)
+ for (int i = 0; i < (int)all_infos->length(); i++)
{
print_infos(&((*all_infos)[i]));
}
file4.load("test.hdf");
all_infos = file4.getFilesInfos();
- for (int i = 0; i < all_infos->length(); i++)
+ for (int i = 0; i < (int)all_infos->length(); i++)
{
print_infos(&((*all_infos)[i]));
}
print_state(state);
file5.load("test2.hdf");
all_infos = file5.getFilesInfos();
- for (int i = 0; i < all_infos->length(); i++)
+ for (int i = 0; i < (int)all_infos->length(); i++)
{
print_infos(&((*all_infos)[i]));
}
virtual void add_provides_port(Ports::Port_ptr ref,
const char* provides_port_name,
Ports::PortProperties_ptr port_prop)
- throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::NilPort,
- Engines::DSC::BadProperty) {
+ noexcept {
Engines_DSC_interface::add_provides_port(ref,
provides_port_name,
port_prop);
virtual void add_uses_port(const char* repository_id,
const char* uses_port_name,
Ports::PortProperties_ptr port_prop)
- throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::BadProperty) {
+ noexcept {
Engines_DSC_interface::add_uses_port(repository_id,
uses_port_name,
port_prop);
*/
virtual Ports::Port_ptr get_provides_port(const char* provides_port_name,
const CORBA::Boolean connection_error)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected) {
+ noexcept {
return Engines_DSC_interface::get_provides_port(provides_port_name,
connection_error);
}
* \see Engines::DSC::get_uses_port
*/
virtual Engines::DSC::uses_port * get_uses_port(const char* uses_port_name)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected) {
+ noexcept {
return Engines_DSC_interface::get_uses_port(uses_port_name);
}
* \see Engines::DSC::connect_provides_port
*/
virtual void connect_provides_port(const char* provides_port_name)
- throw (Engines::DSC::PortNotDefined) {
+ noexcept {
Engines_DSC_interface::connect_provides_port(provides_port_name);
}
*/
virtual void connect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::BadPortType,
- Engines::DSC::NilPort) {
+ noexcept {
Engines_DSC_interface::connect_uses_port(uses_port_name,
provides_port_ref);
}
* \see Engines::DSC::is_connected
*/
virtual CORBA::Boolean is_connected(const char* port_name)
- throw (Engines::DSC::PortNotDefined) {
+ noexcept {
return Engines_DSC_interface::is_connected(port_name);
}
*/
virtual void disconnect_provides_port(const char* provides_port_name,
const Engines::DSC::Message message)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected) {
+ noexcept {
Engines_DSC_interface::disconnect_provides_port(provides_port_name,
message);
}
virtual void disconnect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref,
const Engines::DSC::Message message)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortReference) {
+ noexcept {
Engines_DSC_interface::disconnect_uses_port(uses_port_name,
provides_port_ref,
message);
* \see Engines::DSC::get_port_properties
*/
virtual Ports::PortProperties_ptr get_port_properties(const char* port_name)
- throw (Engines::DSC::PortNotDefined) {
+ noexcept {
return Engines_DSC_interface::get_port_properties(port_name);
}
};
Engines_DSC_interface::add_provides_port(Ports::Port_ptr ref,
const char* provides_port_name,
Ports::PortProperties_ptr port_prop)
-throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::NilPort,
- Engines::DSC::BadProperty)
+ noexcept
{
// Method args test
assert(provides_port_name);
Engines_DSC_interface::add_uses_port(const char* repository_id,
const char* uses_port_name,
Ports::PortProperties_ptr port_prop)
-throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::BadProperty)
+ noexcept
{
// Method args test
// Note : We can't be shure that repository id
Ports::Port_ptr
Engines_DSC_interface::get_provides_port(const char* provides_port_name,
const CORBA::Boolean connection_error)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortType)
+ noexcept
{
// Method arg test
assert(provides_port_name);
Engines::DSC::uses_port *
Engines_DSC_interface::get_uses_port(const char* uses_port_name)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortType)
+noexcept
{
// Method arg test
assert(uses_port_name);
void
Engines_DSC_interface::connect_provides_port(const char* provides_port_name)
- throw (Engines::DSC::PortNotDefined)
+noexcept
{
// Method arg test
assert(provides_port_name);
void
Engines_DSC_interface::connect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::BadPortType,
- Engines::DSC::NilPort)
+ noexcept
{
// Method arg test
assert(uses_port_name);
CORBA::Boolean
Engines_DSC_interface::is_connected(const char* port_name)
- throw (Engines::DSC::PortNotDefined)
+noexcept
{
CORBA::Boolean rtn = false;
void
Engines_DSC_interface::disconnect_provides_port(const char* provides_port_name,
const Engines::DSC::Message message)
-throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected)
+ noexcept
{
// Method args test
assert(provides_port_name);
Engines_DSC_interface::disconnect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref,
const Engines::DSC::Message message)
-throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortReference)
+ noexcept
{
// Method args test
assert(uses_port_name);
if (my_ports[uses_port_name]->connection_nbr > 0) {
CORBA::Long port_index = -1;
CORBA::ULong seq_length = my_ports[uses_port_name]->uses_port_refs.length();
- for(int i = 0; i < seq_length; i++)
+ for(int i = 0; i < (int)seq_length; i++)
{
if (my_ports[uses_port_name]->uses_port_refs[i]->_is_equivalent(provides_port_ref))
{
int index_ancien = 0;
int index_nouveau = 0;
- for(;index_ancien < seq_length;) {
+ for(;index_ancien < (int)seq_length;) {
if (index_ancien == port_index)
{
// Rien a faire !
Ports::PortProperties_ptr
Engines_DSC_interface::get_port_properties(const char* port_name)
- throw (Engines::DSC::PortNotDefined)
+noexcept
{
Ports::PortProperties_ptr rtn_properties = Ports::PortProperties::_nil();
virtual void add_provides_port(Ports::Port_ptr ref,
const char* provides_port_name,
Ports::PortProperties_ptr port_prop)
- throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::NilPort,
- Engines::DSC::BadProperty);
+ noexcept;
/*!
* \see Engines::DSC::add_uses_port
virtual void add_uses_port(const char* repository_id,
const char* uses_port_name,
Ports::PortProperties_ptr port_prop)
- throw (Engines::DSC::PortAlreadyDefined,
- Engines::DSC::BadProperty);
+ noexcept;
/*!
* \see Engines::DSC::get_provides_port
*/
virtual Ports::Port_ptr get_provides_port(const char* provides_port_name,
const CORBA::Boolean connection_error)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortType);
+ noexcept;
/*!
* \see Engines::DSC::get_uses_port
*/
virtual Engines::DSC::uses_port * get_uses_port(const char* uses_port_name)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortType);
+ noexcept;
/*!
* \see Engines::DSC::connect_provides_port
* to manage connections between ports.
*/
virtual void connect_provides_port(const char* provides_port_name)
- throw (Engines::DSC::PortNotDefined);
+ noexcept;
/*!
* \see Engines::DSC::connect_uses_port
*/
virtual void connect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::BadPortType,
- Engines::DSC::NilPort);
+ noexcept;
/*!
* \see Engines::DSC::is_connected
*/
virtual CORBA::Boolean is_connected(const char* port_name)
- throw (Engines::DSC::PortNotDefined);
+ noexcept;
/*!
* \see Engines::DSC::disconnect_provides_port
*/
virtual void disconnect_provides_port(const char* provides_port_name,
const Engines::DSC::Message message)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected);
+ noexcept;
/*!
* \see Engines::DSC::disconnect_uses_port
virtual void disconnect_uses_port(const char* uses_port_name,
Ports::Port_ptr provides_port_ref,
const Engines::DSC::Message message)
- throw (Engines::DSC::PortNotDefined,
- Engines::DSC::PortNotConnected,
- Engines::DSC::BadPortReference);
+ noexcept;
/*!
* \see Engines::DSC::get_port_properties
*/
virtual Ports::PortProperties_ptr get_port_properties(const char* port_name)
- throw (Engines::DSC::PortNotDefined);
+ noexcept;
static void writeEvent(const char* request,const std::string& containerName, const char* instance_name,
const char* port_name, const char* error, const char* message);
void
PortProperties_i::set_property(const char * name, const CORBA::Any& value)
- throw (Ports::NotDefined, Ports::BadType)
+noexcept
{
// Default case, the object has no properties.
throw Ports::NotDefined();
CORBA::Any*
PortProperties_i::get_property(const char* name)
- throw (Ports::NotDefined)
+noexcept
{
// Default case, the object has no properties.
throw Ports::NotDefined();
*/
virtual void set_property(const char * name,
const CORBA::Any& value)
- throw (Ports::NotDefined, Ports::BadType);
+ noexcept;
/*!
* CORBA method : get the value of a property
* \see Ports::PortProperties::get_property
*/
virtual CORBA::Any* get_property(const char* name)
- throw (Ports::NotDefined);
+ noexcept;
};
#endif
#endif
#ifdef WIN32
-//#pragma warning(disable:4275) // Disable warning interface non dll
+#pragma warning(disable:4275) // Disable warning interface non dll
#endif
class LOGGER_EXPORT Logger :
*/
//=======================================================================
CORBA::Long SALOMEDS_AttributeParameter_i::GetInt(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
CORBA::Double SALOMEDS_AttributeParameter_i::GetReal(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
char* SALOMEDS_AttributeParameter_i::GetString(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
CORBA::Boolean SALOMEDS_AttributeParameter_i::GetBool(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
SALOMEDS::DoubleSeq* SALOMEDS_AttributeParameter_i::GetRealArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
SALOMEDS::LongSeq* SALOMEDS_AttributeParameter_i::GetIntArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
*/
//=======================================================================
SALOMEDS::StringSeq* SALOMEDS_AttributeParameter_i::GetStrArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (AP_InvalidIdentifier);
virtual void SetInt(const char* theID, CORBA::Long theValue);
virtual CORBA::Long GetInt(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetReal(const char* theID, CORBA::Double theValue);
virtual CORBA::Double GetReal(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetString(const char* theID, const char* theValue);
virtual char* GetString(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetBool(const char* theID, CORBA::Boolean theValue);
virtual CORBA::Boolean GetBool(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetRealArray(const char* theID, const SALOMEDS::DoubleSeq& theArray);
virtual SALOMEDS::DoubleSeq* GetRealArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetIntArray(const char* theID, const SALOMEDS::LongSeq& theArray);
virtual SALOMEDS::LongSeq* GetIntArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual void SetStrArray(const char* theID, const SALOMEDS::StringSeq& theArray);
virtual SALOMEDS::StringSeq* GetStrArray(const char* theID)
- throw (SALOMEDS::AttributeParameter::InvalidIdentifier);
+ noexcept;
virtual CORBA::Boolean IsSet(const char* theID, CORBA::Long theType);
}
void SALOMEDS_AttributeTableOfInteger_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfInteger_i::GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfInteger_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfInteger_i::GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectArgumentLength);
//Units support
void SALOMEDS_AttributeTableOfInteger_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfInteger_i::GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATI_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfInteger_i::AddRow(const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfInteger_i::SetRow(CORBA::Long theRow, const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectArgumentLength);
}
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::AddColumn(const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfInteger_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectArgumentLength);
}
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::PutValue(CORBA::Long theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
CORBA::Long SALOMEDS_AttributeTableOfInteger_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfInteger_i::SortByColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
void SALOMEDS_AttributeTableOfInteger_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfInteger_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATI_IncorrectIndex);
virtual void SetTitle(const char* theTitle);
virtual char* GetTitle();
virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowTitles();
virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetColumnTitles();
virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowUnits();
virtual CORBA::Long GetNbRows();
virtual CORBA::Long GetNbColumns();
virtual void AddRow(const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetRow(CORBA::Long theRow, const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void AddColumn(const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::LongSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void PutValue(CORBA::Long theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
virtual CORBA::Long GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
virtual void SetNbColumns(CORBA::Long theNbColumns);
virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
virtual SALOMEDS::TMPFile* SaveToFile();
}
void SALOMEDS_AttributeTableOfReal_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfReal_i::GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfReal_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfReal_i::GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectArgumentLength);
//Units support
void SALOMEDS_AttributeTableOfReal_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfReal_i::GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATR_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfReal_i::AddRow(const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfReal_i::SetRow(CORBA::Long theRow, const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectArgumentLength);
}
SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::AddColumn(const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfReal_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectArgumentLength);
}
SALOMEDS::DoubleSeq* SALOMEDS_AttributeTableOfReal_i::GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::PutValue(CORBA::Double theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
CORBA::Double SALOMEDS_AttributeTableOfReal_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfReal_i::SortByColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
void SALOMEDS_AttributeTableOfReal_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfReal_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATR_IncorrectIndex);
virtual void SetTitle(const char* theTitle);
virtual char* GetTitle();
virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowTitles();
virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetColumnTitles();
virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowUnits();
virtual CORBA::Long GetNbRows();
virtual CORBA::Long GetNbColumns();
virtual void AddRow(const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetRow(CORBA::Long theRow, const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::DoubleSeq* GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void AddColumn(const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::DoubleSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::DoubleSeq* GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void PutValue(CORBA::Double theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
virtual CORBA::Double GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
virtual void SetNbColumns(CORBA::Long theNbColumns);
virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
virtual SALOMEDS::TMPFile* SaveToFile();
}
void SALOMEDS_AttributeTableOfString_i::SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfString_i::GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfString_i::SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfString_i::GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
//Units support
void SALOMEDS_AttributeTableOfString_i::SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfString_i::GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch (ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfString_i::AddRow(const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfString_i::SetRow(CORBA::Long theRow, const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::AddColumn(const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
void SALOMEDS_AttributeTableOfString_i::SetColumn(CORBA::Long theColumn, const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectArgumentLength);
}
SALOMEDS::StringSeq* SALOMEDS_AttributeTableOfString_i::GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::PutValue(const char* theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
char* SALOMEDS_AttributeTableOfString_i::GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByRow(CORBA::Long theRow,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
SALOMEDS::LongSeq* SALOMEDS_AttributeTableOfString_i::SortByColumn(CORBA::Long theColumn,
SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
void SALOMEDS_AttributeTableOfString_i::SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+ noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
}
void SALOMEDS_AttributeTableOfString_i::SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(ATS_IncorrectIndex);
virtual void SetTitle(const char* theTitle);
virtual char* GetTitle();
virtual void SetRowTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowTitles();
virtual void SetColumnTitle(CORBA::Long theIndex, const char* theTitle)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetColumnTitle(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetColumnTitles(const SALOMEDS::StringSeq& theTitles)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetColumnTitles();
virtual void SetRowUnit(CORBA::Long theIndex, const char* theUnit)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual char* GetRowUnit(CORBA::Long theIndex)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SetRowUnits(const SALOMEDS::StringSeq& theUnits)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRowUnits();
virtual CORBA::Long GetNbRows();
virtual CORBA::Long GetNbColumns();
virtual void AddRow(const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetRow(CORBA::Long theRow, const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::StringSeq* GetRow(CORBA::Long theRow)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void AddColumn(const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength);
+ noexcept;
virtual void SetColumn(CORBA::Long theColumn, const SALOMEDS::StringSeq& theData)
- throw (SALOMEDS::AttributeTable::IncorrectArgumentLength, SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::StringSeq* GetColumn(CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void PutValue(const char* theValue, CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual CORBA::Boolean HasValue(CORBA::Long theRow, CORBA::Long theColumn);
virtual char* GetValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void RemoveValue(CORBA::Long theRow, CORBA::Long theColumn)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* GetRowSetIndices(CORBA::Long theRow);
virtual void SetNbColumns(CORBA::Long theNbColumns);
virtual SALOMEDS::LongSeq* SortRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByRow(CORBA::Long theRow, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual SALOMEDS::LongSeq* SortByColumn(CORBA::Long theColumn, SALOMEDS::AttributeTable::SortOrder sortOrder,
SALOMEDS::AttributeTable::SortPolicy sortPolicy)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapCells(CORBA::Long theRow1, CORBA::Long theColumn1,
CORBA::Long theRow2, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapRows(CORBA::Long theRow1, CORBA::Long theRow2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual void SwapColumns(CORBA::Long theColumn1, CORBA::Long theColumn2)
- throw (SALOMEDS::AttributeTable::IncorrectIndex);
+ noexcept;
virtual bool ReadFromFile(const SALOMEDS::TMPFile& theStream);
virtual SALOMEDS::TMPFile* SaveToFile();
return PortableServer::POA::_duplicate(myPOA);
}
-void SALOMEDS_GenericAttribute_i::CheckLocked() throw (SALOMEDS::GenericAttribute::LockProtection)
+void SALOMEDS_GenericAttribute_i::CheckLocked() noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(GALockProtection);
virtual PortableServer::POA_ptr _default_POA();
- void CheckLocked() throw (SALOMEDS::GenericAttribute::LockProtection);
+ void CheckLocked() noexcept;
virtual char* Type();
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::LoadWith(SALOMEDS::SComponent_ptr anSCO,
- SALOMEDS::Driver_ptr aDriver) throw(SALOME::SALOME_Exception)
+ SALOMEDS::Driver_ptr aDriver) noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBSalomeException);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::CommitCommand() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::CommitCommand() noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::Undo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Undo() noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::Redo() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::Redo() noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
* Purpose :
*/
//============================================================================
-void SALOMEDS_StudyBuilder_i::CheckLocked() throw (SALOMEDS::StudyBuilder::LockProtection)
+void SALOMEDS_StudyBuilder_i::CheckLocked() noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetName(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
*/
//============================================================================
void SALOMEDS_StudyBuilder_i::SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue)
- throw(SALOMEDS::StudyBuilder::LockProtection)
+noexcept
{
SALOMEDS::Locker lock;
Unexpect aCatch(SBLockProtection);
virtual SALOMEDS::SObject_ptr NewObjectToTag(SALOMEDS::SObject_ptr theFatherObject, CORBA::Long atag);
virtual void LoadWith(SALOMEDS::SComponent_ptr sco, SALOMEDS::Driver_ptr Engine)
- throw(SALOME::SALOME_Exception);
+ noexcept;
virtual void Load(SALOMEDS::SObject_ptr sco);
virtual void RemoveObject(SALOMEDS::SObject_ptr anObject);
virtual bool IsGUID(SALOMEDS::SObject_ptr anObject, const char* theGUID);
virtual void NewCommand();
- virtual void CommitCommand() throw(SALOMEDS::StudyBuilder::LockProtection);
+ virtual void CommitCommand() noexcept;
virtual CORBA::Boolean HasOpenCommand();
virtual void AbortCommand();
- virtual void Undo() throw(SALOMEDS::StudyBuilder::LockProtection);
- virtual void Redo() throw(SALOMEDS::StudyBuilder::LockProtection);
+ virtual void Undo() noexcept;
+ virtual void Redo() noexcept;
CORBA::Boolean GetAvailableUndos();
CORBA::Boolean GetAvailableRedos();
CORBA::Boolean IsSaved();
virtual CORBA::Long UndoLimit();
virtual void UndoLimit(CORBA::Long);
- void CheckLocked() throw (SALOMEDS::StudyBuilder::LockProtection);
+ void CheckLocked() noexcept;
- virtual void SetName(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
- virtual void SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
- virtual void SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue) throw(SALOMEDS::StudyBuilder::LockProtection);
+ virtual void SetName(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
+ virtual void SetComment(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
+ virtual void SetIOR(SALOMEDS::SObject_ptr theSO, const char* theValue) noexcept;
SALOMEDSImpl_StudyBuilder* GetImpl() { return _impl; }