Added exception message
Updated documentation