Page MenuHomePhabricator

Calling UnRegisterMicroservice() of NavigationToolStorage without registering before leads to "unkown exception"
Closed, ResolvedPublic

Description

Call UnRegisterMicroservice() on an object of mitk::NavigationToolStorage without calling RegisterAsMicroservice() on the same object before. An exception which reads "unkown exception" will be thrown.

If one tries to unregister a micro service which isn't registered, nothing bad would happen if the attempt would be discarded. Therefore, a solution would be to issue only a warning.

Event Timeline

[e3c00e]: Merge branch 'bug-17100-TestIfRegisteredBeforeTryingToUnregisterToolSt

Merged commits:

2014-02-06 19:16:50 Adrian Winterstein [322462]
UnRegisterMicroservice() does no longer throw an exception if the object isn't registered.

User wintersa has pushed new remote branch:

bug-17100-TestIfRegisteredBeforeTryingToUnregisterToolStorage