9/26/2023 0 Comments Visual studio show line numbersSo.as Wyck says, just remove the catch block. The only situations where you should catch exceptions are described in the same blog post I always point people to! Which is this one: If you catch it and just allow the user to continue on, it means your program could now be in an unstable state and behave unpredictably. (hence the name) and usually mean something has gone very wrong with your program. The general guidelines is that you shouldn't actually catch exceptions except in some very specific situations.Īfter all, exceptions should only occur in exceptional circumstances
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |