From 0e6f383a8c50b08637052e58a9f23fa8ed87dc5b Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Thu, 21 Aug 2008 16:44:51 +0000 Subject: [PATCH] more explicit error message --- hurricane/src/hurricane/Instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurricane/src/hurricane/Instance.cpp b/hurricane/src/hurricane/Instance.cpp index a9c1d1bf..b4baac1c 100644 --- a/hurricane/src/hurricane/Instance.cpp +++ b/hurricane/src/hurricane/Instance.cpp @@ -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");