You cannot throw an exception from within a __toString() method. Doing so will result in a fatal error.tfw php