So I have a while loop that where if an exception is thrown, I dont want to go to the main catch block, but stay within the while loop. Looks like this work but something doesnt feel like, as if this is bad practice or something. Is there a better way to do this?
Code:
try
{
while(...)
{
try
{
}
catch
{
}
}
}
catch
{
}