The code fragment responsible for throwing the MException object must have supplied the line number when the constructor was called.
virtual unsigned long getLine() const;