Terminating an application
Mike Parker
aldacron71 at yahoo.com
Wed Sep 12 18:27:41 PDT 2007
llee wrote:
> Is it possible to terminate an application after catching an exception|error? I know how that assert will automatically terminate an application after catching an AssertError. Is there a general method for terminating an application outside of main(). Perhaps, something like exit() under linux?
If you rethrow the exception, or throw a new one, and let it propagate
up the app will exit.
More information about the Digitalmars-d
mailing list