Commit 9cb2258a authored by Pavel Vainerman's avatar Pavel Vainerman

(UI): исправлен мелкий баг с вылавливанием исключений в getType()

parent 11ce2fd3
...@@ -1582,6 +1582,16 @@ ObjectType UniversalInterface::getType(ObjectId name, ObjectId node) ...@@ -1582,6 +1582,16 @@ ObjectType UniversalInterface::getType(ObjectId name, ObjectId node)
oref = CORBA::Object::_nil(); oref = CORBA::Object::_nil();
} }
} }
catch(IOController_i::NameNotFound& ex)
{
rcache.erase(name, node);
throw UniSetTypes::NameNotFound("UI(getType): "+string(ex.err));
}
catch(IOController_i::IOBadParam& ex)
{
rcache.erase(name, node);
throw UniSetTypes::IOBadParam("UI(getType): "+string(ex.err));
}
catch(ORepFailed) catch(ORepFailed)
{ {
rcache.erase(name, node); rcache.erase(name, node);
......
Markdown is supported
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