P
pamelafluente
Hi guys,
[sorry I posted it on ASP by error]
When bubbling some exception up to some interface handlers
- what is most recommandable:
Try
'some code
Catch ex As Exception
Throw
End Try
or
Try
'some code
Catch ex As Exception
Throw ex
End Try
?
- What about I just to want to add some comments in the error message,
BUT
I want to keep ALL the inner exceptions (so that I can recursively
spit them to the
user when I arrive up to the UI ) How do I do that correctly ?
- And, is it true that anything after a Throw will be in any case
ignored ?
-P
[sorry I posted it on ASP by error]
When bubbling some exception up to some interface handlers
- what is most recommandable:
Try
'some code
Catch ex As Exception
Throw
End Try
or
Try
'some code
Catch ex As Exception
Throw ex
End Try
?
- What about I just to want to add some comments in the error message,
BUT
I want to keep ALL the inner exceptions (so that I can recursively
spit them to the
user when I arrive up to the UI ) How do I do that correctly ?
- And, is it true that anything after a Throw will be in any case
ignored ?
-P