more explicit error message

This commit is contained in:
Christophe Alexandre 2008-08-21 16:44:51 +00:00
parent 90242e3680
commit 0e6f383a8c
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ Instance::Instance(Cell* cell, const Name& name, Cell* masterCell, const Transfo
throw Error("Can't create " + _TName("Instance") + " : empty name");
if (_cell->getInstance(_name))
throw Error("Can't create " + _TName("Instance") + " : already exists");
throw Error("Can't create " + _TName("Instance") + " " + getString(_name) + " : already exists");
if (!_masterCell)
throw Error("Can't create " + _TName("Instance") + " : null master cell");