Add exception annotations to Javadoc.
Update pom to alert on warnings and deprecations.