added an exception thrower
resolved the conflict
removed exception raising