From 8d76e7116c4cd1438949064b4956f53a537d08c6 Mon Sep 17 00:00:00 2001 From: Julien Malik <julien.malik@c-s.fr> Date: Sun, 19 Jun 2011 14:44:51 +0200 Subject: [PATCH] ENH: fix error message --- Code/Wrappers/SWIG/itkBase.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Wrappers/SWIG/itkBase.i b/Code/Wrappers/SWIG/itkBase.i index fd0c7965a6..cfa30751ff 100644 --- a/Code/Wrappers/SWIG/itkBase.i +++ b/Code/Wrappers/SWIG/itkBase.i @@ -30,10 +30,10 @@ $action } catch( itk::ExceptionObject &ex ) { char error_msg[256]; - sprintf( error_msg, "Exception thrown in SimpleITK $symname: %s", ex.what() ); + sprintf( error_msg, "Exception thrown in otbApplication $symname: %s", ex.what() ); SWIG_exception( SWIG_RuntimeError, error_msg ); } catch( ... ) { - SWIG_exception( SWIG_UnknownError, "Unknown exception thrown in SimpleITK $symname" ); + SWIG_exception( SWIG_UnknownError, "Unknown exception thrown in otbApplication $symname" ); } } /* -- GitLab