Add exception for xprintf error message.

- declaration of new exception
- replace call to xterminate in xprintf by throwing this exception
- add destructor of SystemInfo