Added messages to exceptions.