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
Main Repositories
otb
Commits
e62b5fc5
Commit
e62b5fc5
authored
Jul 05, 2016
by
Guillaume Pasero
Browse files
ENH: fix exception type
parent
32012012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/ThirdParty/OssimPlugins/src/ossim/ossimSarSensorModel.cpp
View file @
e62b5fc5
...
...
@@ -766,9 +766,11 @@ namespace ossimplugins
// Invert system
try
{
dR
=
B
.
i
()
*
F
;
}
catch
(
std
::
e
xception
const
&
e
)
{
}
catch
(
NEWMAT
::
SingularE
xception
const
&
e
)
{
// NEWMATH exception
throw
std
::
runtime_error
(
e
.
what
());
}
catch
(...)
{
throw
std
::
runtime_error
(
"Cannot invert 3x3 matrix in projToSurface"
);
}
// Update estimate
...
...
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