How to handle exceptions without using try,catch,throw, and
log4j

Answers were Sorted based on User's Feedback



How to handle exceptions without using try,catch,throw, and log4j..

Answer / pravin

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

Is This Answer Correct ?    12 Yes 2 No

How to handle exceptions without using try,catch,throw, and log4j..

Answer / ajay kumar

1.we can handle exception using Exception management application block

2.By using page_error on asp.net page

3.By using Application_error object

Is This Answer Correct ?    7 Yes 0 No

How to handle exceptions without using try,catch,throw, and log4j..

Answer / sathya

If you want to handle exceptions you must use try & catch
block or try followed by the finally block.

If you don't want to handle them you can use throws clause.

Is This Answer Correct ?    2 Yes 6 No

How to handle exceptions without using try,catch,throw, and log4j..

Answer / anup

Generally without try catch trow we can not handle
exceptions handling is not a good practice.

In that case we have to first find the probalbe case for
exception and using if else codition we have to implement
those condition and handling this.

Is This Answer Correct ?    3 Yes 13 No

Post New Answer

More SunOne Interview Questions

How to handle exceptions without using try,catch,throw, and log4j

4 Answers   Condeco, Marlabs,


what is swing and jsp. where we use swings and jsp

6 Answers   IBM,


how to create a configuration for Oracle iplanet web server?

1 Answers  


How to configure a website in iPlanet/SunOne?

0 Answers  


what does a constructor does.

6 Answers   Marlabs, Microsoft,






What are the SSL formats supported by iPlanet/SunOne?

0 Answers  


How to configure SSL in iPlanet/SunOne?

0 Answers  


Where can I find the CLI for Web Server 7.0.9 administration?

1 Answers  


How to Resetting the Administration Password?

1 Answers  


What are the configuration files for iPlanet/SunOne?

1 Answers   TCS,


Categories