Changed exception declaration