Used Exception, fixed namespacing issue