Add lots of @throws

Change-Id: I09d0c13070f966fcf23d2638d8fc1328279a5995