P
Parag
Hi,
I am writing error handling mechanism for a large website and one of
the requirements that has come is whether it is possible to have the
..NET application whenever it throws exception it throws a custom
defined exception. For e.g.
Default behaviour is as shown:
Try
some code
Catch Ex as Exception
End try
Can I have something like for all types of exceptions
Try
some code
Catch Ex as MyException
End try
This should be the default behaviour of my .NET application
Regards
Parag
I am writing error handling mechanism for a large website and one of
the requirements that has come is whether it is possible to have the
..NET application whenever it throws exception it throws a custom
defined exception. For e.g.
Default behaviour is as shown:
Try
some code
Catch Ex as Exception
End try
Can I have something like for all types of exceptions
Try
some code
Catch Ex as MyException
End try
This should be the default behaviour of my .NET application
Regards
Parag