move logic for building MissingIPAllocation msg to class

Move the logic for building the message for MissingIPAllocation
exceptions into the exception class and simplify it.

Change-Id: I61453cbaa466f40984bdf80420c182d6332f2583