When a unexpected exception happened,
I want to remove all DisplayObject and show error message to tell users that the program has crashed.
Is it safe to use UncaughtErrorEvent to do that?
Is it possible to stop my application even though it is not necessary to stop it if I use UncaughtErrorEvent to do that?
Sure you can do this.
Note however that this is a feature of Flash player 10.1 and up I believe. This shouldn’t be a big issue, since typically whenever a new flash player version is released people are forced to update.