Skip to content
Snippets Groups Projects
Commit 9138ef3d authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

add throws

parent d0ec42f0
No related branches found
No related tags found
1 merge request!793Test Web Service
package gov.usgs.earthquake.nshmp.model;
import java.io.IOException;
import java.util.Optional;
import java.util.concurrent.ExecutionException;
import gov.usgs.earthquake.nshmp.model.NshmTestUtils.Nshm;
import gov.usgs.earthquake.nshmp.www.Application;
......@@ -9,7 +11,8 @@ import io.micronaut.runtime.Micronaut;
public class GenerateWebActual {
public static void main(String[] args) {
public static void main(String[] args)
throws InterruptedException, ExecutionException, IOException {
Nshm nshm = NshmTests.NSHMS.get(System.getProperty("NSHM"));
var context = Micronaut
.build("--model=" + nshm.modelPath())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment