Site icon Hip-Hop Website Design and Development

Set a particular web page as 404 – not discovered through my very own plugin

I am growing a plugin that create some pages and set a particular template for every of those pages.
It creates a web page during which it units a template for 404 – not discovered, how can set this specifc web page as WordPress 404 (so it is going to be displayed when wanted)?