Remove unneeded throws declaration

* ClassNotFoundException is checked,
* but is not thrown by this method