fixed Exception declaration