Better exception management.
Unit test using PowerMock and Mockito added to setIP() method in IPCapability.