loadTemporalModel
public static TemporalConfiguration loadTemporalModel(java.lang.String configPath)
throws java.lang.IllegalArgumentException,
java.io.IOException,
com.fasterxml.jackson.databind.JsonMappingException,
com.fasterxml.jackson.core.JsonParseException
Method to load the temporal configuration of the simulation.
- Parameters:
configPath
- The (relative) path the files of the temporal configuration are located at
- Returns:
- A configuration object based on the configuration files
- Throws:
java.lang.IllegalArgumentException
- Will be thrown if simulationLength, synchronousity or timeModel in the configuration file are missing, in the wrong format or have an unimplemented value!
java.io.IOException
- Will be thrown when an error occurs handling the file storing the configuration of the referred temporal configuration
com.fasterxml.jackson.core.JsonParseException
- Will be thrown upon a parse error for the json file corresponding to the file handler
com.fasterxml.jackson.databind.JsonMappingException
- Will be thrown upon a mapping error for the json file corresponding to the file handler