Commit a178d553 authored by Robin Eschbach's avatar Robin Eschbach
Browse files

[FIX #133] change error message

parent 408a43de
......@@ -322,7 +322,7 @@ void WFilterPropertyHandler::changePdgBiMap( int pdg, std::string newParticleNam
bool success_replace = m_PdgNamesByID.right.replace_data( pdg_iter, newParticleName );
if( !success_replace )
throw WException( "Fail to replace new particle name" );
throw WException( "You cannot choose the same particle name twice" );
else //unknown particle
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