Added better exception documentation.