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);
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);
* @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.
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);
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);