.NET exceptions, error handling for the exceptional case(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

The tip of the day consists of in making sure to use a try/catch block to trap individual exception types such as SqlException which is specific whereas Exception is more general. For instance, imagine you are connecting to a database, it's quite common to experience a connection failure that you might not expect. So it makes sense to try to handle any unexpected connection failures.

add a comment |category: |Views: 3

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story