CreateProcessAsUser icon indicating copy to clipboard operation
CreateProcessAsUser copied to clipboard

Better exception handling

Open mmiszczyk opened this issue 5 years ago • 0 comments

I've been using this code and the fact that it always throws an instance of the base Exception class makes it rather annoying to handle. A better solution would be creating a more specialized class derived from Exception that can be caught more easily without catching anything else that we don't want to catch.

mmiszczyk avatar Jan 09 '20 11:01 mmiszczyk