Add a throws declaration to this, as well as Javadoc