Add MesproException. Message map is incomplete.
Improve code readability.