custom exception for QuestionModule

Add custom exception class to throw error while forming question.