mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 14:24:17 +05:00
fix error message
This commit is contained in:
parent
20a20de3ac
commit
8a3dd9b891
@ -46,7 +46,7 @@ BooleanStep* BooleanField::addStep(const int& step, const int& stamp)
|
||||
throw (XAO_Exception)
|
||||
{
|
||||
if (hasStep(step))
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << "already exists.");
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
|
||||
|
||||
BooleanStep* bstep = new BooleanStep(step, stamp, m_nbElements, m_nbComponents);
|
||||
m_steps.push_back(bstep);
|
||||
|
@ -45,7 +45,7 @@ DoubleStep* DoubleField::addStep(const int& step, const int& stamp)
|
||||
throw (XAO_Exception)
|
||||
{
|
||||
if (hasStep(step))
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << "already exists.");
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
|
||||
|
||||
DoubleStep* bstep = new DoubleStep(step, stamp, m_nbElements, m_nbComponents);
|
||||
m_steps.push_back(bstep);
|
||||
|
@ -165,7 +165,7 @@ namespace XAO
|
||||
* @param number the numer of the step.
|
||||
* @return the new create step.
|
||||
*/
|
||||
virtual Step* addNewStep(const int& number) = 0;
|
||||
virtual Step* addNewStep(const int& number) throw (XAO_Exception) = 0;
|
||||
|
||||
/**
|
||||
* Remove a step.
|
||||
|
@ -45,7 +45,7 @@ IntegerStep* IntegerField::addStep(const int& step, const int& stamp)
|
||||
throw (XAO_Exception)
|
||||
{
|
||||
if (hasStep(step))
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << "already exists.");
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
|
||||
|
||||
IntegerStep* bstep = new IntegerStep(step, stamp, m_nbElements, m_nbComponents);
|
||||
m_steps.push_back(bstep);
|
||||
|
@ -45,7 +45,7 @@ StringStep* StringField::addStep(const int& step, const int& stamp)
|
||||
throw (XAO_Exception)
|
||||
{
|
||||
if (hasStep(step))
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << "already exists.");
|
||||
throw XAO_Exception(MsgBuilder() << "Step with number " << step << " already exists.");
|
||||
|
||||
StringStep* bstep = new StringStep(step, stamp, m_nbElements, m_nbComponents);
|
||||
m_steps.push_back(bstep);
|
||||
|
Loading…
Reference in New Issue
Block a user