Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
0b4f3f58
Commit
0b4f3f58
authored
Oct 26, 2017
by
Sudeep Kanav
Browse files
added RuntimeException
refs 3090
parent
76fa09e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.ocra/trunk/src/org/fortiss/af3/ocra/run/OCRARunner.java
View file @
0b4f3f58
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment