Added @throws exceptions to many methods in Javadoc