SunOne Question:
How to handle exceptions without using try,catch,throw, and log4j?
Answer:
in case of .net, if you are not using
try/catch/finally/throw/log4j
1. make use of Page_error method on any .aspx page to
handle error on the specfic page
2. in global.asax use application_error event handler
3. web.config, under Error - specify what need to be done
based on error code/type
try/catch/finally/throw/log4j
1. make use of Page_error method on any .aspx page to
handle error on the specfic page
2. in global.asax use application_error event handler
3. web.config, under Error - specify what need to be done
based on error code/type
Previous Question | Next Question |
What does a constructor does? | What is swing and jsp. Where we use swings and jsp? |