Monday, January 12, 2009

Exception Handling - Code for failures - Part-1

Exception Handling - Code for failures (Part-1)
This article is not about what is Exception Handling, this article is just providing some tips, do's , don'ts and sharing the knowledge about Exception Handling and designing of Exception Handling...


Exception Handling is nothing but preparation for failures, if we do not prepare for failures, then expect the more system failures.

Normally we the programmers do not bother much about failure cases while coding, programmers concentrate more on to code the funcationality, yes it is important to complete the optimistic path of the program but the world is not so perfect.
We write a program to run successfully in a conditionl environment, that means we define a program run successfully in this environemnt for this inputs and in this state, so we must concentrate on the Exception Handling to face when the program runs in improper environemt or inputs or states

Improper or poor exception handling will lead for the following things
1. Maitenance will be very difficult
2. Difficult to debug.
3. More turn around time.

Do we have any gauge for perfect Exception handling?
Never mind, as long as we are able to identify the reason for failures without looking the Stacktrace then the Exception Handling is done in good manner.

I will write more in the next part...

Part 2 is here

8 comments:

Yellow Blade said...

Chúng tôi chuyên nhận vận chuyển hàng hóa nội địa hiện nay. Chúng tôi xin giới thiệu với bạn các dịch vụ vận chuyển, giao hàng uy tín để phục vụ nhu cầu Tết của quý khách hàng. Cụ thể chúng tôi sẽ cung cấp dịch vụ vận chuyển gửi quà tết. Chúng tôi sẽ giúp bạn vận chuyển hàng hóa đến tay người thân, bạn bè ở xa một cách nhanh chóng nhất. Đảm bảo giá cả hợp lý chất lượng dịch vụ tuyệt vời. Ngoài ra chúng tôi còn cung cấp nhiều dịch vụ khác như dịch vụ ship hàng cod, giao hàng cho shop, dịch vụ chuyển phát nhanh uy tín,... Nếu cần chuyển hàng hãy nhớ liên hệ với chúng tôi nhé.

chenzhen said...

valentino
red bottoms outlet online
birkenstock shoes
oakley sunglasses cheap
gucci borse
skechers outlet
versace sunglasses
louis vuitton handbags
jimmy choo outlet store
michael kors bags
kate spade outlet online
hollister clothing store
designer handbags wholesale
nike shoes for cheap
adidas pure boost black
reebok classic
michael kors outlet
oakley sunglasses outlet
michael kors outlet online
coach factory outlet
true religion uk
coach outlet online
tiffany uk
jimmy choo
north face outlet
dolce and gabbana outlet online
nike running shoes
ecco outlet
cheap ray ban sunglasses
coach outlet store
under armour
oakley sunglasses outlet
nike air max 90
louis vuitton uk
chi flat iron
cheap ray bans
pandora jewelry
pandora charms uk
michael kors outlet clearance
burberry outlet canada
chenzhen2016629

Meiqing Xu said...

valentino
adidas nmd
beats by dr dre
yeezy boost
michael kors outlet
lebron james shoes 2017
true religion outlet
philadelphia phillies jerseys
mbt shoes
kate spade handbags
20170322caiyan

Unknown said...

HSC Result 2017
Maharashtra HSC Result 2017
MP Board Result 2017
Intermediate Result 2017

Nilesh sharma said...

RBSE 12th Arts Result 2017
RBSE 12th Commerce Result 2017
RBSE 12th Science Result 2017
CBSE 12th Result 2017

boss patel said...

UP Board 12th Result 2017
Kerala DHSE +2 Result 2017
cbseresults.nic.in 10th 2017
Kar 2nd Puc Result 2017
MP Board 12th Result 2017

Martin sam said...

pseb result 2017
Intermediate Results 2017
JAC Result 2017
GSEB results 2017
HSC Result 2017

ninest123 said...

yeezy boost
adidas yeezy
fendi handbags
adidas nmd
birkenstock outlet
pandora jewelry
longchamp outlet
pandora
birkenstock shoes
red bottoms
mt0706