Fixed scope of Exception namespace