cleaned up javadoc tag to newer syntax

also tidied a test method's exception list. its just a test