M
Mr Flibble
Are
try
{
//something
}
catch
{
//
}
And
try
{
//something
}
catch (Exception e)
{
//
}
The same ? The first one will catch all exceptions and the second will
catch all exceptions of type Exception which since it's the base type of
all Exceptions will catch everything.
So are they one and the same thing?
try
{
//something
}
catch
{
//
}
And
try
{
//something
}
catch (Exception e)
{
//
}
The same ? The first one will catch all exceptions and the second will
catch all exceptions of type Exception which since it's the base type of
all Exceptions will catch everything.
So are they one and the same thing?