public List<Route> load() throws ParseException, RoutesException {
InputStream inputStream = null;
try {
inputStream = getInputStream();
} catch (Exception e) {
throw new RoutesException("Problem loading the routes.config file: " + e.getMessage(), e);
}
try {
return load(inputStream);
} catch (IOException e) {
throw new RoutesException("Problem loading the routes.config file: " + e.getMessage(), e);
}
}