Invalid Map Exception Added.

Added Parser Exception for Invalid Maps