fix missing exception
Initial Nette 2.2 support