Added exception class for unknown PhotonType values