pokemon exception handling