Commit 0b4f3f58 authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

added RuntimeException

refs 3090
parent 76fa09e1
......@@ -77,9 +77,7 @@ public class OCRARunner extends ToolRunnerBase<Component, NuSMVResult> {
String ceFilePath = modelFile.getAbsolutePath().replace(".oss", ".xml");
return new OCRAResultBuilder().buildResult(ceFilePath);
} catch(IOException e) {
e.printStackTrace();
} catch(JAXBException e) {
} catch(IOException | JAXBException | RuntimeException e) {
e.printStackTrace();
}
return null;
......@@ -102,12 +100,9 @@ public class OCRARunner extends ToolRunnerBase<Component, NuSMVResult> {
String ceFilePath = modelFile.getAbsolutePath().replace(".oss", ".xml");
return new OCRAResultBuilder().buildResultForImplementation(ceFilePath, con);
} catch(IOException e) {
e.printStackTrace();
} catch(JAXBException e) {
} catch(IOException | JAXBException | RuntimeException e) {
e.printStackTrace();
}
return null;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment