public Pet GetPetSafe(long entityId) { var r = this.GetPet(entityId); if (r == null) throw new SevereViolation("Account doesn't contain pet 0x{0:X}", entityId); return r; } }