From 91befee864b2d879a088e514f7625f1e5c7a7669 Mon Sep 17 00:00:00 2001 From: mkr Date: Thu, 9 Mar 2006 07:06:07 +0000 Subject: [PATCH] Modifications to avoid crash after set incorrect input value of 'objref' type for input port. --- src/Supervision/SuperV_Impl.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Supervision/SuperV_Impl.cxx b/src/Supervision/SuperV_Impl.cxx index 6806ada..98a78ae 100644 --- a/src/Supervision/SuperV_Impl.cxx +++ b/src/Supervision/SuperV_Impl.cxx @@ -712,7 +712,9 @@ SUPERV::Value_ptr SuperV_Impl::StringValue( const char * aStrIOR ) { // return(anAny); } } - catch ( CORBA::BAD_PARAM ) { + catch ( ... ) { // mkr : catch any exception to avoid crash after set incorrect + // value of 'objref' type for input port + //catch ( CORBA::BAD_PARAM ) { // JR : objref or string only ==> the eventual convertion to long or double is done in // the SuperVisionEngine with the real type of the argument -- 2.39.2