There's going to come a time when you need to create a custom Exception type. Of course, there are always people who will go overboard and use a custom exception type instead of actually coding a check to prevent the exception, which is very bad, but that's now what this post is about. What it IS about is how to do it.. so I'll post a link to some guy who wrote it all out for me already.
http://blog.gurock.com/articles/creating-custom-exceptions-in-dotnet/
Me = SOooooo lazy.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment