improved exception message
javadoc