Added @throws javadoc to string ctor.