Add @throws fo dock block function signature