#ifndef __INVALID__ #define __INVALID__ class Invalid{ string r_; string l_; public: Invalid(string reason,string line):r_(reason), l_(line){} string reason()const{return r_;} string line() const{ return l_;} }; #endif