Refactored class CommunicationException