add exception namespace and add nlormexception base class