Used string interpolation and also moved exception to exception namespace