You need to add the use statement as the exception is not in the same namespace