If spell is used to destroy Planar Void, it goes to the graveyard, then the spell goes to the graveyard. The spell is not exiled, as Planar Void was not on the battlefield when it was put into the graveyard.

Artwork
Loading artwork…
Planar Void
Urza's Saga · #149 · EN
Nonfoil—Foil—
Card rules
Whenever another card is put into a graveyard from anywhere, exile that card.
"Planeswalking isn't about walking. It's about falling and screaming." —Xantcha, Phyrexian outcast
Uncommon · Illustrated by Andrew Goldhawk
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The card does go to the graveyard before it is exiled, so other triggered abilities will trigger on the card going to the graveyard.
It will not trigger on itself going to the graveyard, or on any other cards going to the graveyard at the same time. This means that neither itself nor other cards put into the graveyard at the same time as it will get exiled.