Fixed javadoc throws.