Update Manager.php

Fix #9: Wrong exception class used.