fix javadoc on Error class