[#1841] define NameConflict error instead of using Excepion itself