Add thrown exception into method signature