Fixed Exception was created with wrong constructor call