A
Arjen
Hi,
I'm reading the enterprise library documentation and there I see the throw
statement.
try
{
// run code
}
catch(Exception ex)
{
bool rethrow = ExceptionPolicy.HandleException(ex, "Logging Policy");
if (rethrow)
throw;
}
Can somebody tell what the throw statement does?
How can I use it? In what situation? Etc.
Thanks!
Arjen
I'm reading the enterprise library documentation and there I see the throw
statement.
try
{
// run code
}
catch(Exception ex)
{
bool rethrow = ExceptionPolicy.HandleException(ex, "Logging Policy");
if (rethrow)
throw;
}
Can somebody tell what the throw statement does?
How can I use it? In what situation? Etc.
Thanks!
Arjen