fixed java doc issues on my side #story[1092]

This commit is contained in:
Fan-Wu Yang
2017-08-15 22:44:56 +12:00
parent a4e1dfb3d7
commit 8d87da6206
13 changed files with 47 additions and 41 deletions
@@ -94,6 +94,10 @@ public class Event {
* @throws XMLReaderException Thrown if any of the xml files cannot be parsed.
* @throws InvalidBoatDataException Thrown if the boat xml file cannot be parsed.
* @throws InvalidRegattaDataException Thrown if the regatta xml file cannot be parsed.
* @throws ParserConfigurationException Error in parsing XML
* @throws JAXBException error in mapping the xml to a schema
* @throws SAXException error in reading the schema
* @throws IOException error in finding the schema
*/
public void start() throws InvalidRaceDataException, XMLReaderException, InvalidBoatDataException, InvalidRegattaDataException, ParserConfigurationException, JAXBException, SAXException, IOException {
new Thread(connectionAcceptor, "Event.Start()->ConnectionAcceptor thread").start();
@@ -70,6 +70,9 @@ public class RaceXMLCreator {
* @throws XMLReaderException if the xml is not readable
* @throws InvalidRaceDataException if the race is invalid
* @throws JAXBException if the Race class cannot be parsed into a xml.
* @throws IOException if the schema file cannot be found
* @throws SAXException error in schema file
* @throws ParserConfigurationException error in parsing the schema file
*/
public static String alterRaceToWind(String s, double degrees) throws XMLReaderException, InvalidRaceDataException, JAXBException, IOException, SAXException, ParserConfigurationException {
RaceXMLReader reader = new RaceXMLReader(s, XMLFileType.ResourcePath);
@@ -187,7 +190,6 @@ public class RaceXMLCreator {
/**
* Sets the xml description of the race to show the race was created now, and starts in 4 minutes
* @param raceXML The race.xml contents.
* @return String containing edited xml
*/
public static void setRaceXMLAtCurrentTimeToNow(XMLRace raceXML) {