Commit a3eede16 authored by Manuel Grizonnet's avatar Manuel Grizonnet

ENH: tipo in choice parameter exception message

parent 72eb670e
......@@ -174,7 +174,7 @@ ListViewParameter::SetSelectedItemsByNames()
oss<<", ";
}
}
itkExceptionMacro("Value "<<selectedName<<" not found in the choices possibilities"<<oss.str()<<".");
itkExceptionMacro("Value "<<selectedName<<" not found in the list of choices: "<<oss.str()<<".");
}
}
this->SetSelectedItems(selectedItems);
......@@ -210,7 +210,7 @@ ListViewParameter::SetSelectedItemsByKeys()
oss<<", ";
}
}
itkExceptionMacro("Value "<<selectedKey<<" not found in the choices possibilities"<<oss.str()<<".");
itkExceptionMacro("Value "<<selectedKey<<" not found in the list of choices: "<<oss.str()<<".");
}
}
this->SetSelectedItems(selectedItems);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment