Fix javadocs and license comment on exception